diff options
Diffstat (limited to 'lib/gitlab/auth.rb')
-rw-r--r-- | lib/gitlab/auth.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/auth.rb b/lib/gitlab/auth.rb index d03b1caca91..13a59bb4a76 100644 --- a/lib/gitlab/auth.rb +++ b/lib/gitlab/auth.rb @@ -164,8 +164,8 @@ module Gitlab def abilities_for_scopes(scopes) abilities_by_scope = { api: full_authentication_abilities, - read_registry: build_authentication_abilities - [:build_create_container_image], - read_repository: read_authentication_abilities - [:read_container_image] + read_registry: [:build_read_container_image], + read_repository: [:download_code] } scopes.flat_map do |scope| |