Skip to content

Remove runner "locked" toggle where not used

What does this MR do?

Closes: #337041 (closed) and #271260 (closed)

This change removes the "locked" checkbox for runners that cannot be locked.

Previously the locked checkbox was disabled where it didn't apply, with this change the "locked" is not available at all.

Screenshots or Screencasts (strongly suggested)

before after
before-shared after-shared
before-specific after-specific

How to setup and validate locally (strongly suggested)

  1. Visit a runner from the admin page http://127.0.0.1:3000/admin/runners
  2. Select a "shared" or "group" runner

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #271260 (closed)

Edited by Miguel Rincon

Merge request reports