diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-21 02:43:11 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-21 02:43:11 +0300 |
commit | 4474eab4f6a17861a6ed494034bc68acb0724e3c (patch) | |
tree | 6a7e5b671a2d6bcd1b6c4c0f9328013070d99456 /app/services/auth | |
parent | ec86644545c1c2567dfaacb6d53d150a5dfa28d6 (diff) |
Fix container deletion permission issue
Diffstat (limited to 'app/services/auth')
-rw-r--r-- | app/services/auth/container_registry_authentication_service.rb | 2 |
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 |