Add "locked" field to create runner form
What does this MR do and why?
This change adds the locked field to the runner create form when the runner is of project type.
The locked field prevents users in other projects from reassigning the project runner.
Changelog: added
Note: This checkbox is already available at the Edit page of the runner, this allows us to have feature parity between the two, so this form is more easily reused.
Screenshots or screen recordings
Checkbox added |
---|
Before | After |
---|---|
How to set up and validate locally
- Visit a project you own or maintain
- Select Settings -> CI/CD -> Runners
- Select "New project runner"
- Confirm the Locked input is there, optionally, confirm the data is saved (by selecting Edit in the runner).
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #395646 (closed)
Edited by Miguel Rincon