Sync Namespace Settings seat_control Value with new_user_signups_cap
What does this MR do and why?
Sync namespace_settings
seat_control
value with new_user_signups_cap
When the namespace settings new_user_signup_cap
has a value, set seat_control
to 'user_cap'
on save.
When it is null, set seat_control
to 'off'
.
Notes on why we are doing this are here: https://gitlab.com/gitlab-org/gitlab/-/issues/470094#note_1977685205
We are at step 2 - Write code that keeps the value of seat_control
in sync with the value of new_user_signups_cap
.
Issue: https://gitlab.com/gitlab-org/gitlab/-/issues/470094
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Jason Goodman