diff options
author | Adam Pahlevi <adam.pahlevi@gmail.com> | 2017-02-03 02:43:19 +0300 |
---|---|---|
committer | Adam Pahlevi <adam.pahlevi@gmail.com> | 2017-02-03 03:14:04 +0300 |
commit | a0586dbc165cc09422412149712a218938137308 (patch) | |
tree | 1918196171212c48a28bb4e28b6b0fed5f3ad2f2 /app/services/auth | |
parent | d777e6f1da98be64b872a2bea2222f3e037a3d4d (diff) |
replace `find_with_namespace` with `find_by_full_path`
add complete changelog for !8949
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 c00c5aebf57..5cb7a86a5ee 100644 --- a/app/services/auth/container_registry_authentication_service.rb +++ b/app/services/auth/container_registry_authentication_service.rb @@ -61,7 +61,7 @@ module Auth end def process_repository_access(type, name, actions) - requested_project = Project.find_with_namespace(name) + requested_project = Project.find_by_full_path(name) return unless requested_project actions = actions.select do |action| |