diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-20 18:43:11 -0500 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-20 18:43:11 -0500 |
commit | 4474eab4f6a17861a6ed494034bc68acb0724e3c (patch) | |
tree | 6a7e5b671a2d6bcd1b6c4c0f9328013070d99456 /app | |
parent | ec86644545c1c2567dfaacb6d53d150a5dfa28d6 (diff) | |
download | gitlab-ce-4474eab4f6a17861a6ed494034bc68acb0724e3c.tar.gz |
Fix container deletion permission issue
Diffstat (limited to 'app')
-rw-r--r-- | app/services/auth/container_registry_authentication_service.rb | 2 | ||||
-rw-r--r-- | app/views/projects/container_registry/index.html.haml | 2 |
2 files changed, 2 insertions, 2 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 diff --git a/app/views/projects/container_registry/index.html.haml b/app/views/projects/container_registry/index.html.haml index 40957993b22..e1e762410f2 100644 --- a/app/views/projects/container_registry/index.html.haml +++ b/app/views/projects/container_registry/index.html.haml @@ -4,7 +4,7 @@ %hr %ul.content-list - .light.prepend-top-default + %li.light.prepend-top-default %p A 'container image' is a snapshot of a container. You can host your container images with GitLab. |