Skip to content

Opt out of Organizations

What does this MR do and why?

We introduce a feature flag that will allow people to opt out of Organization dog fooding elements that differ from the customer experience. This may be necessary for GitLab Team Members who need to record demos, take screenshots, etc.

This MR will specifically hide the "New Organization" available through the + dropdown button, and the Organization Switcher in the left sidebar.

The FF state is a little confusing as the roadmap has changed this year. We are looking to remove the existing ui_for_organizations FF in #561183 which will help a bit.

The opt_out_organizations roll out issue is at #562264

Closes #562263 (closed)

References

Screenshots or screen recordings

New Organization Button

Disabled Enabled
Screenshot_2025-08-20_at_1.27.52_PM Screenshot_2025-08-20_at_1.28.38_PM

Organization Switcher

Disabled Enabled
Screenshot_2025-08-20_at_1.29.07_PM Screenshot_2025-08-20_at_1.29.33_PM

How to set up and validate locally

Enable the following feature flags

Feature.enable :organization_switching
Feature.enable :ui_for_organizations
Feature.enable :organization_scoped_paths

You will see the UI elements. Then enable:

Feature.enable :opt_out_organizations

You will see the elements no longer visible.

MR acceptance checklist

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 Alex Pooley

Merge request reports

Loading