Skip to content
Snippets Groups Projects
Commit 850881a2 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

add admin ability to edit project settings from project area

parent afa9f604
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment