Commit 58d7404
Fix licensing vulnerabilities and strengthen freemium model legal protections (#1823)
* Update licensing documents to clarify Pro features and license validation requirements
- Enhanced the LICENSE.md to specify that Pro-licensed directories require a valid subscription and outline prohibitions against circumventing license validation.
- Updated package.json to reflect a dual license of MIT and Proprietary.
- Revised REACT-ON-RAILS-PRO-LICENSE.md to include new clauses regarding license validation and compliance.
- Modified DIRECTORY_LICENSING.md to clarify the nature of Pro features in the repository.
- Adjusted LICENSING_FAQ.md to accurately describe the licensing structure and requirements for Pro features.
* Update LICENSE.md and package.json to clarify Pro licensing terms
- Added a new section in LICENSE.md detailing the proprietary license, usage restrictions, and directories associated with Pro features.
- Updated package.json to specify the proprietary license using the SPDX identifier format.
* Refine LICENSE.md to streamline Pro licensing terms
* Refactor licensing to clearly separate MIT and Pro scopes
Implements cleaner license separation approach:
- MIT License applies to lib/react_on_rails/** (except pro/) and node_package/src/** (except pro/)
- Pro License applies exclusively to pro/ directories
- Removes contradictory language about prohibiting MIT code modification
- Clarifies that MIT code can be modified, but using it to access Pro features without a license is prohibited
Changes:
- LICENSE.md: Restructured to clearly define license scopes upfront
- DIRECTORY_LICENSING.md: Added distinction between MIT modification rights and Pro usage restrictions
- LICENSING_FAQ.md: Added FAQ explaining modification rights vs usage restrictions
This resolves the legal contradiction where MIT-licensed code included anti-circumvention restrictions,
which conflicts with MIT's grant of unrestricted modification rights.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Abanoub Ghadban <[email protected]>
* Fix package.json license field and add license validation mechanism examples
- Changed package.json license field to 'SEE LICENSE IN LICENSE.md' for better npm tooling compatibility
- Added 'License Validation Mechanisms' section to LICENSE.md with:
- Description of what license validation mechanisms are (runtime checks, authentication systems, etc.)
- Specific examples of prohibited modifications (helper.rb, utils.rb, interface files)
- Clear statement that MIT modifications are allowed but using them to access Pro features violates the Pro License
Co-authored-by: Abanoub Ghadban <[email protected]>
* Update LICENSE.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Update LICENSE.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* linting
* Remove examples of prohibited modifications from LICENSE.md to streamline the document and focus on the core licensing terms.
---------
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Abanoub Ghadban <[email protected]>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>1 parent 120bd43 commit 58d7404
File tree
5 files changed
+106
-17
lines changed- docs
5 files changed
+106
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
5 | 4 | | |
6 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
7 | 18 | | |
8 | | - | |
| 19 | + | |
9 | 20 | | |
10 | | - | |
| 21 | + | |
11 | 22 | | |
12 | 23 | | |
13 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
14 | 36 | | |
15 | 37 | | |
16 | 38 | | |
| |||
41 | 63 | | |
42 | 64 | | |
43 | 65 | | |
44 | | - | |
45 | | - | |
46 | | - | |
| 66 | + | |
47 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
| |||
85 | 89 | | |
86 | 90 | | |
87 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
88 | 95 | | |
89 | 96 | | |
90 | 97 | | |
| |||
118 | 125 | | |
119 | 126 | | |
120 | 127 | | |
121 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
122 | 159 | | |
123 | | - | |
| 160 | + | |
| 161 | + | |
124 | 162 | | |
125 | 163 | | |
126 | 164 | | |
127 | | - | |
| 165 | + | |
128 | 166 | | |
129 | 167 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
23 | 29 | | |
24 | 30 | | |
25 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
113 | 121 | | |
114 | 122 | | |
115 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| |||
0 commit comments