Skip to content
Snippets Groups Projects
Commit 8ef46b9f authored by Jean Praloran's avatar Jean Praloran
Browse files

change ability requirement

parent fcca3e6e
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -104,7 +104,7 @@ module Auth
when 'push'
build_can_push?(requested_project) || user_can_push?(requested_project)
when '*'
requested_project == project || can?(current_user, :create_container_image, requested_project)
requested_project == project || can?(current_user, :admin_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