Skip to content

Prevent Group Sharing Outside the Hierarchy with Block Seat Overages

What does this MR do and why?

When block seat overages is enabled, forcibly enable the setting to prevent group sharing outside the hierarchy.

Hide the prevent group sharing outside the hierarchy setting in the UI.

The block seat overages feature is behind a feature flag.

Issue: https://gitlab.com/gitlab-org/gitlab/-/issues/443385

Overarching issue describing the feature: https://gitlab.com/gitlab-org/gitlab/-/issues/432733

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.

Screen recordings

See a demo of this change here: https://gitlab.com/gitlab-org/gitlab/-/issues/443385#note_1806547388

How to set up and validate locally

  1. Enable the feature flag: Feature.enable(:block_seat_overages, group)
  2. Run in simulating saas mode.
  3. Follow the steps seen in the demo video.
Edited by Jason Goodman

Merge request reports