Refactor git http controllers to rely on auth results differently
Auth results can return an ambiguous actor, either user or deploy token. Refactor to explicitly get user or deploy token rather than accessing the actor directly.
显示
- app/controllers/repositories/git_http_client_controller.rb 9 个添加, 4 个删除app/controllers/repositories/git_http_client_controller.rb
- ee/app/controllers/ee/repositories/git_http_controller.rb 1 个添加, 0 个删除ee/app/controllers/ee/repositories/git_http_controller.rb
- spec/controllers/repositories/git_http_controller_spec.rb 8 个添加, 0 个删除spec/controllers/repositories/git_http_controller_spec.rb
- spec/support/shared_examples/controllers/repositories/git_http_controller_shared_examples.rb 6 个添加, 4 个删除...llers/repositories/git_http_controller_shared_examples.rb
想要评论请 注册 或 登录