Commit 850881a2 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

add admin ability to edit project settings from project area

parent afa9f604
...@@ -41,7 +41,7 @@ class Ability ...@@ -41,7 +41,7 @@ class Ability
rules << project_guest_rules rules << project_guest_rules
end end
if project.owner == user if project.owner == user || user.admin?
rules << project_admin_rules rules << project_admin_rules
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment