Skip to content
Snippets Groups Projects
Commit fcca3e6e authored by jean's avatar jean Committed by Jean Praloran
Browse files

add star for action scope, in order to delete image from registry

parent 1ac12698
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -103,6 +103,8 @@ module Auth
build_can_pull?(requested_project) || user_can_pull?(requested_project)
when 'push'
build_can_push?(requested_project) || user_can_push?(requested_project)
when '*'
requested_project == project || can?(current_user, :create_container_image, requested_project)
else
false
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment