Skip to content

The wrong usage of MIT License #44

Closed
@ptchen314

Description

@ptchen314

Summary

As title pointed, this repo is licensed with MIT License, but the Additional Restriction Clause statement inside the file violates the term of MIT License.
The maintainers of this repository should fix this issue as soon as possible.

Details

This issue is referring to the commit 0e1a91b and commit 2b04342

Let's take a look at MIT License:

MIT License Template (link)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software
...

MIT License template has stated that if you licensed with MIT License, any person is granted, free of charge to obtaining a copy of this software and associated documentation files, including to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software.
Therefore, stating restriction inside MIT License is not only invalid on legal means, also violates the term of MIT License.

If you cannot fully understand the means of MIT License document, you can refer to the attachment below.

Also, the terms of contributing should be stated in separate CONTRIBUTING.md file.

Attachment

  • The summary of MIT License from GitHub
    Image

Activity

ptchen314

ptchen314 commented on Apr 19, 2025

@ptchen314
Author

這裡補充ChatGPT所提供之解釋:

這是一個非常有趣且涉及法律與授權原則的問題。我們從幾個面向來拆解這個情境:


📘 情境假設

TW Core IG 是以 MIT License 授權釋出,但如果它在實際發布時額外加入「限制某些特定人士或機構不得使用」的條款——這樣的限制是否合法?


🔍 一、MIT License 的基本精神

MIT License 是一種非常寬鬆的 開源授權條款,其主要條文大意如下:

“...Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files... to deal in the Software without restriction...”

特點:

  • ✅ 允許任何人自由使用、修改、合併、出版、發行、再授權與銷售。
  • 不能額外加入與原始 MIT 授權條款衝突的限制

🚫 二、「加上限制條件」會導致什麼?

若在 MIT 授權的基礎上再額外補充說:

「本指引不得由某某組織或特定國家/公司/個人使用。」

這就產生兩個法律問題:

1. 違反原始 MIT 授權條款

MIT 是無條件給予使用權利(只保留免責聲明),你無法在保持 MIT 授權名義的情況下再加設限制。這會使該授權條件「自相矛盾」,在法律上可能導致整份授權無效或失去 MIT 授權的合法性

2. 違反開源原則與歧視禁止條款

根據 [Open Source Initiative (OSI)] 的開源定義,禁止歧視特定群體 是基本原則之一:

No Discrimination Against Persons or Groups

所以,即使你不用 MIT 授權,改用其他開源授權,只要是開源,就不得歧視性限制特定使用者。


⚖️ 三、台灣法律觀點

台灣目前雖未有專門的開源授權法,但根據《民法》契約自由原則與《著作權法》精神,若你使用 MIT 授權條款,那麼就必須遵守 MIT 授權的條件。

若再額外加限制,很可能會:

  • 被認定為「矛盾條款」無效(依《民法》第98、99條解釋原則),或
  • 使整體授權變得不確定,造成法律風險。

✅ 結論

🔹 MIT 授權條款下,不得加註限制特定對象使用的條件
🔹 若加上這種限制,將違反授權條款,也可能失去開源合法性。
🔹 在台灣法律體系中,這種「另加限制」的做法很可能無效或構成契約矛盾


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

      Participants

      @edwardlo12@ptchen314

      Issue actions

        The wrong usage of MIT License · Issue #44 · ITRI-BDL-D/MOHW_TWCoreIG