Set Namespace to Read-Only if it Has a Seat Overage
Loading
Set the namespace to read-only if it has a seat overage.
If block seat overages is enabled, and the number of seats in use exceeds the number of seats in the subscription, then make the namespace read-only.
Block seat overages is behind a feature flag, and so the changes in this MR are as well.
Issue: https://gitlab.com/gitlab-org/gitlab/-/issues/444892
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Notice that in the upper right corner, I see the button to create new subgroups.
And in the upper right corner, I see the button to create new epics.
However, here, I do not have the button to create new subgroups.
And I do not have the button to create new epics.
Feature.enable(:block_seat_overages, group)