diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2018-04-07 11:35:00 +0300 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2018-04-07 11:35:00 +0300 |
commit | b38439a3ae3c7ea1675b7037e4882213bdc58fdf (patch) | |
tree | 5d3c9aaa712b30a835e3d8e649acd95d2dc640f1 /lib/gitlab/auth.rb | |
parent | 5bc58bac2678aed9c8b2318f9f4d4825baa2b110 (diff) |
Use proper auth_scope for deploy token
Diffstat (limited to 'lib/gitlab/auth.rb')
-rw-r--r-- | lib/gitlab/auth.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/auth.rb b/lib/gitlab/auth.rb index f88f9d2d808..2a44e11efb6 100644 --- a/lib/gitlab/auth.rb +++ b/lib/gitlab/auth.rb @@ -164,7 +164,7 @@ module Gitlab def abilities_for_scopes(scopes) abilities_by_scope = { api: full_authentication_abilities, - read_registry: [:build_read_container_image], + read_registry: [:read_container_image], read_repository: [:download_code] } |