User with Custom Manage runner permission should be able to disable runner for project
Summary
Hello,
When user is given custom manage runner should be able to use "enable runner for this project/disable for this project" option, but currently it is possible to use enable but not disable option, which i think is not intended behavior or custom manage runner
Steps to reproduce
As Owner
- Create group-A and apply ultimate trial
- Create custom role of Developer with view runner and Manage runner permission (it works with Developer or lower)
- Invite a member with Developer-custom
- Create Project-A
As Invited member
- Navigate to group-A/project-A setting and click on CI/CD
- Txpand runners
- Try to enable or disable runner you will see that it is possible to enable but not to disable
What is the current bug behavior?
user with custom manage runner can't disable runner for project
What is the expected correct behavior?
user with custom manage runner should be able to disable runner for project