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
13279d25
Commit
13279d25
authored
Jul 01, 2017
by
Bob Van Landuyt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add `ref_permissions_for_users` feature to EES
parent
6f1b2005
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
app/models/license.rb
app/models/license.rb
+5
-2
No files found.
app/models/license.rb
View file @
13279d25
...
...
@@ -22,7 +22,8 @@ class License < ActiveRecord::Base
MULTIPLE_ISSUE_BOARDS_FEATURE
=
'GitLab_MultipleIssueBoards'
.
freeze
OBJECT_STORAGE_FEATURE
=
'GitLab_ObjectStorage'
.
freeze
PUSH_RULES_FEATURE
=
'GitLab_PushRules'
.
freeze
RELATED_ISSUES_FEATURE
=
'GitLab_RelatedIssues'
.
freeze
REF_PERMISSIONS_FOR_USERS_FEATURE
=
'GitLab_RefPermissionsForUsers'
.
freeze
RELATED_ISSUES_FEATURE
=
'RelatedIssues'
.
freeze
SERVICE_DESK_FEATURE
=
'GitLab_ServiceDesk'
.
freeze
VARIABLE_ENVIRONMENT_SCOPE_FEATURE
=
'GitLab_VariableEnvironmentScope'
.
freeze
...
...
@@ -52,7 +53,7 @@ class License < ActiveRecord::Base
merge_request_squash:
MERGE_REQUEST_SQUASH_FEATURE
,
multiple_issue_assignees:
MULTIPLE_ISSUE_ASSIGNEES_FEATURE
,
multiple_issue_boards:
MULTIPLE_ISSUE_BOARDS_FEATURE
,
push_rules:
PUSH_RULE
S_FEATURE
ref_permissions_for_users:
REF_PERMISSIONS_FOR_USER
S_FEATURE
}.
freeze
STARTER_PLAN
=
'starter'
.
freeze
...
...
@@ -77,6 +78,7 @@ class License < ActiveRecord::Base
{
MULTIPLE_ISSUE_ASSIGNEES_FEATURE
=>
1
},
{
MULTIPLE_ISSUE_BOARDS_FEATURE
=>
1
},
{
PUSH_RULES_FEATURE
=>
1
},
{
REF_PERMISSIONS_FOR_USERS_FEATURE
=>
1
},
{
RELATED_ISSUES_FEATURE
=>
1
}
].
freeze
...
...
@@ -123,6 +125,7 @@ class License < ActiveRecord::Base
{
MULTIPLE_ISSUE_BOARDS_FEATURE
=>
1
},
{
OBJECT_STORAGE_FEATURE
=>
1
},
{
PUSH_RULES_FEATURE
=>
1
},
{
REF_PERMISSIONS_FOR_USERS_FEATURE
=>
1
},
{
SERVICE_DESK_FEATURE
=>
1
}
].
freeze
...
...
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