summaryrefslogtreecommitdiff
path: root/spec/policies
diff options
context:
space:
mode:
authorJason Goodman <jgoodman@gitlab.com>2019-06-17 11:13:03 +0000
committerKamil TrzciƄski <ayufan@ayufan.eu>2019-06-17 11:13:03 +0000
commita881a592d12444cfd407987e171d97b9609441a4 (patch)
tree982a7f63d7315abf82b29b258af3976d0e07bd65 /spec/policies
parent8ace9d91b52c0aae221bd35fd807d35296a92d9b (diff)
downloadgitlab-ce-a881a592d12444cfd407987e171d97b9609441a4.tar.gz
Allow Developer role to delete tags via container registry api
This brings the API permissions in line with the UI permissions
Diffstat (limited to 'spec/policies')
-rw-r--r--spec/policies/project_policy_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/policies/project_policy_spec.rb b/spec/policies/project_policy_spec.rb
index ed0e82ef179..4b723a52b51 100644
--- a/spec/policies/project_policy_spec.rb
+++ b/spec/policies/project_policy_spec.rb
@@ -39,7 +39,7 @@ describe ProjectPolicy do
admin_milestone admin_merge_request update_merge_request create_commit_status
update_commit_status create_build update_build create_pipeline
update_pipeline create_merge_request_from create_wiki push_code
- resolve_note create_container_image update_container_image
+ resolve_note create_container_image update_container_image destroy_container_image
create_environment create_deployment create_release update_release
]
end