You need to sign in or sign up before continuing.
The source project of this merge request has been removed.
Allow admins to limit registration of project and group runners [RUN ALL RSPEC] [RUN AS-IF-FOSS]
This MR addresses a desire for admins to be able to limit the registration of project and group runners.
A section has been added to Admin Area > Settings > CI/CD: After selecting the desired options (in this case, neither group nor project), the following changes will occur:
-
Visiting the group CI/CD Settings page will change the view from to to
-
Visiting the project CI/CD Settings page will change the view from to
-
the API at
POST runners/
will return a 403 Forbidden error
This may relate to the following issues:
DB migrations
Linked issues
UP
be rake db:migrate:up VERSION="20210317210338"
== 20210317210338 AddValidRunnerRegistrars: migrating =========================
-- add_column(:application_settings, :valid_runner_registrars, :string, {:array=>true, :default=>["project", "group"]})
-> 0.0052s
== 20210317210338 AddValidRunnerRegistrars: migrated (0.0053s) ================
DOWN
be rake db:migrate:down VERSION="20210317210338"
== 20210317210338 AddValidRunnerRegistrars: reverting =========================
-- remove_column(:application_settings, :valid_runner_registrars, :string, {:array=>true, :default=>["project", "group"]})
-> 0.0035s
== 20210317210338 AddValidRunnerRegistrars: reverted (0.0080s) ================
Edited by Darren Eastman