Allow `:admin_runners` to clear runners cache
This change allows users that are members of a custom role with the `:admin_runners` permission enabled to be able to view the `Clear runner caches` button on the project pipelines view. Changelog: fixed EE: true
显示
- app/controllers/projects/settings/ci_cd_controller.rb 11 个添加, 1 个删除app/controllers/projects/settings/ci_cd_controller.rb
- app/helpers/ci/pipelines_helper.rb 1 个添加, 1 个删除app/helpers/ci/pipelines_helper.rb
- ee/spec/helpers/ee/ci/pipelines_helper_spec.rb 8 个添加, 0 个删除ee/spec/helpers/ee/ci/pipelines_helper_spec.rb
- ee/spec/requests/custom_roles/admin_runners/request_spec.rb 21 个添加, 0 个删除ee/spec/requests/custom_roles/admin_runners/request_spec.rb
- spec/controllers/projects/settings/ci_cd_controller_spec.rb 32 个添加, 16 个删除spec/controllers/projects/settings/ci_cd_controller_spec.rb
加载中
想要评论请 注册 或 登录