add admin ability to edit project settings from project area
This commit is contained in:
parent
afa9f6045a
commit
850881a2ef
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class Ability
|
|||
rules << project_guest_rules
|
||||
end
|
||||
|
||||
if project.owner == user
|
||||
if project.owner == user || user.admin?
|
||||
rules << project_admin_rules
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue