diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-06-15 12:56:02 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-06-15 12:56:02 +0200 |
commit | eb26755d63dbe3b4c32230a2ec8730a0d889f292 (patch) | |
tree | 6ebac74a5364f2aa72b60f7dc26792451f959cc3 /app/models/ability.rb | |
parent | 2bed8db99567292bd619ddd9ec8158f1ed7b54e6 (diff) | |
download | gitlab-ce-eb26755d63dbe3b4c32230a2ec8730a0d889f292.tar.gz |
Create_deployment ability is need to create retry or rollback deployment
Diffstat (limited to 'app/models/ability.rb')
-rw-r--r-- | app/models/ability.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/ability.rb b/app/models/ability.rb index 8d76e8efa13..ecf02a0ff6f 100644 --- a/app/models/ability.rb +++ b/app/models/ability.rb @@ -249,8 +249,7 @@ class Ability :create_container_image, :update_container_image, :create_environment, - :create_deployment, - :update_deployment + :create_deployment ] end @@ -269,6 +268,7 @@ class Ability :push_code_to_protected_branches, :update_project_snippet, :update_environment, + :update_deployment, :admin_milestone, :admin_project_snippet, :admin_project_member, |