diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-02-19 15:11:26 +0100 |
---|---|---|
committer | James Edwards-Jones <jedwardsjones@gitlab.com> | 2017-01-31 22:55:28 +0000 |
commit | 3e6cbcdd00017acae132daafa5af35f16bf48e3c (patch) | |
tree | 9c5487dcb574415168f5a7632764c0eb2dddea2d /app/policies | |
parent | 492627c987fd167c956df49843e741cbe29fd77a (diff) | |
download | gitlab-ce-3e6cbcdd00017acae132daafa5af35f16bf48e3c.tar.gz |
Fix pages abilities
Diffstat (limited to 'app/policies')
-rw-r--r-- | app/policies/project_policy.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/policies/project_policy.rb b/app/policies/project_policy.rb index ca5b39a001f..f5fd50745aa 100644 --- a/app/policies/project_policy.rb +++ b/app/policies/project_policy.rb @@ -110,6 +110,8 @@ class ProjectPolicy < BasePolicy can! :admin_pipeline can! :admin_environment can! :admin_deployment + can! :admin_pages + can! :read_pages can! :update_pages end |