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
0
Merge Requests
0
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
Tatuya Kamada
gitlab-ce
Commits
e6204eb3
Commit
e6204eb3
authored
Mar 04, 2016
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move `update_merge_request` ability to Developer
Closes #13663
parent
ec68d673
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/models/ability.rb
app/models/ability.rb
+1
-1
No files found.
app/models/ability.rb
View file @
e6204eb3
...
@@ -188,6 +188,7 @@ class Ability
...
@@ -188,6 +188,7 @@ class Ability
def
project_dev_rules
def
project_dev_rules
@project_dev_rules
||=
project_report_rules
+
[
@project_dev_rules
||=
project_report_rules
+
[
:admin_merge_request
,
:admin_merge_request
,
:update_merge_request
,
:create_commit_status
,
:create_commit_status
,
:update_commit_status
,
:update_commit_status
,
:create_build
,
:create_build
,
...
@@ -212,7 +213,6 @@ class Ability
...
@@ -212,7 +213,6 @@ class Ability
@project_master_rules
||=
project_dev_rules
+
[
@project_master_rules
||=
project_dev_rules
+
[
:push_code_to_protected_branches
,
:push_code_to_protected_branches
,
:update_project_snippet
,
:update_project_snippet
,
:update_merge_request
,
:admin_milestone
,
:admin_milestone
,
:admin_project_snippet
,
:admin_project_snippet
,
:admin_project_member
,
:admin_project_member
,
...
...
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