diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-10 10:53:40 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-10 10:53:40 +0300 |
commit | cfc792b9ca064990e6540cb742e80529ea669a81 (patch) | |
tree | 147cd4256319990cebbc02fe8e4fbbbe06f5720a /app/policies/project_policy.rb | |
parent | 93c6764dacd4c605027ef1cd367d3aebe420b223 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies/project_policy.rb')
-rw-r--r-- | app/policies/project_policy.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/policies/project_policy.rb b/app/policies/project_policy.rb index ff70c6e6aeb..7b0297ea81b 100644 --- a/app/policies/project_policy.rb +++ b/app/policies/project_policy.rb @@ -262,6 +262,7 @@ class ProjectPolicy < BasePolicy enable :update_container_image enable :destroy_container_image enable :create_environment + enable :update_environment enable :create_deployment enable :update_deployment enable :create_release @@ -278,8 +279,6 @@ class ProjectPolicy < BasePolicy enable :admin_board enable :push_to_delete_protected_branch enable :update_project_snippet - enable :update_environment - enable :update_deployment enable :admin_project_snippet enable :admin_project_member enable :admin_note |