Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-05-21 02:43:11 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-05-21 02:43:11 +0300
commit4474eab4f6a17861a6ed494034bc68acb0724e3c (patch)
tree6a7e5b671a2d6bcd1b6c4c0f9328013070d99456 /app/services/auth
parentec86644545c1c2567dfaacb6d53d150a5dfa28d6 (diff)
Fix container deletion permission issue
Diffstat (limited to 'app/services/auth')
-rw-r--r--app/services/auth/container_registry_authentication_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/auth/container_registry_authentication_service.rb b/app/services/auth/container_registry_authentication_service.rb
index 3144e96ba31..f807b8ec09a 100644
--- a/app/services/auth/container_registry_authentication_service.rb
+++ b/app/services/auth/container_registry_authentication_service.rb
@@ -20,7 +20,7 @@ module Auth
token.issuer = registry.issuer
token.audience = AUDIENCE
token[:access] = names.map do |name|
- { type: 'repository', name: name, actions: %w(pull push) }
+ { type: 'repository', name: name, actions: %w(*) }
end
token.encoded
end