Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
8b9b71ef
Commit
8b9b71ef
authored
Feb 08, 2018
by
Oswaldo Ferreira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust paths to license.rb file
parent
17ae37f5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doc/development/licensed_feature_availability.md
doc/development/licensed_feature_availability.md
+3
-3
No files found.
doc/development/licensed_feature_availability.md
View file @
8b9b71ef
# Licensed feature availability
As of GitLab 9.4, we've been supporting a simplified version of licensed
feature availability checks via
`
lib
/license.rb`
, both for
feature availability checks via
`
ee/app/models
/license.rb`
, both for
on-premise or GitLab.com plans and features.
## Restricting features scoped by namespaces or projects
...
...
@@ -12,7 +12,7 @@ feature such as [Related issues](../user/project/issues/related_issues.md) or
it should be restricted on namespace scope.
1.
Add the feature symbol on
`EES_FEATURES`
,
`EEP_FEATURES`
or
`EEU_FEATURES`
constants in
`
lib
/license.rb`
. Note on
`ee/app/models/ee/namespace.rb`
that _Bronze_ GitLab.com
`
ee/app/models
/license.rb`
. Note on
`ee/app/models/ee/namespace.rb`
that _Bronze_ GitLab.com
features maps to on-premise _EES_, _Silver_ to _EEP_ and _Gold_ to _EEU_.
2.
Check using:
...
...
@@ -28,7 +28,7 @@ to only a subset of projects or namespaces, the check will be made directly in
the instance license.
1.
Add the feature symbol on
`EES_FEATURES`
,
`EEP_FEATURES`
or
`EEU_FEATURES`
constants in
`
lib
/license.rb`
.
`
ee/app/models
/license.rb`
.
2.
Add the same feature symbol to
`GLOBAL_FEATURES`
3.
Check using:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment