Skip to content

Add "locked" field to create runner form

Miguel Rincon requested to merge 395646-add-locked-to-create-project into master

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
image
Before After
image Screenshot_2023-05-19_at_13.49.30

How to set up and validate locally

  1. Visit a project you own or maintain
  2. Select Settings -> CI/CD -> Runners
  3. Select "New project runner"
  4. 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.

Related to #395646 (closed)

Edited by Miguel Rincon

Merge request reports

Loading