Reporter cant create MR. Show user authorized projects in Admin area
This commit is contained in:
parent
96ba1708ac
commit
d1e63c7df2
6 changed files with 14 additions and 26 deletions
|
@ -57,13 +57,13 @@ class Ability
|
|||
def project_report_rules
|
||||
project_guest_rules + [
|
||||
:download_code,
|
||||
:write_merge_request,
|
||||
:write_snippet
|
||||
]
|
||||
end
|
||||
|
||||
def project_dev_rules
|
||||
project_report_rules + [
|
||||
:write_merge_request,
|
||||
:write_wiki,
|
||||
:push_code
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue