diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-10-01 14:30:32 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-10-01 14:30:32 +0300 |
commit | 5663b4808df787b1bcbf32ba54eccbb4c7537e25 (patch) | |
tree | db851b0b94ee77d493dc787f67fe63136dab4fef /app/policies | |
parent | 2d1a77b8a3567cae61f73196918fe365d4fe9415 (diff) |
authorize in controller. validation in model.
Diffstat (limited to 'app/policies')
-rw-r--r-- | app/policies/project_policy.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/policies/project_policy.rb b/app/policies/project_policy.rb index b7b5bd34189..279b19eb576 100644 --- a/app/policies/project_policy.rb +++ b/app/policies/project_policy.rb @@ -188,6 +188,7 @@ class ProjectPolicy < BasePolicy enable :admin_build enable :admin_container_image enable :admin_pipeline + enable :admin_cluster enable :admin_environment enable :admin_deployment enable :admin_pages |