Skip to content

Add "Home organization" setting to profile preferences

Peter Hegman requested to merge 419079-user-default-organization-setting into master

What does this MR do and why?

Related to #419079 (closed)

The grouptenant scale team is starting to build out an Organization MVC. For more information about what an "Organization" will be see https://docs.gitlab.com/ee/architecture/blueprints/organization/

Users can be members of multiple organizations but can choose one to be their "Home organization". This MR adds a setting to select your home organization in /-/profile/preferences.

Notes

Screenshots or screen recordings

Screenshot_2023-11-01_at_8.24.00_AM

Screenshot_2023-11-01_at_8.19.58_AM

How to set up and validate locally

  1. Open Rails console
    • bin/rails console
  2. Enable the feature flag
    • Feature.enable(:ui_for_organizations)
  3. Navigate to /-/profile/preferences

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Peter Hegman

Merge request reports