Skip to content
Snippets Groups Projects

Create organization behind feature flag

Merged Bojan Marjanovic requested to merge 441531-create-organization-behind-feature-flag into master

What does this MR do and why?

As per Create organization behind feature flag (#441531 - closed), we're enabling organization creation behind a FF. It adds new FF, and reuse it on the frontend and backend parts.

  • hides the New Organization button on the FE side
  • returns an error message if the FF is disabled for the user

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.

Screenshots or screen recordings

Hidden button Error message
image image

How to set up and validate locally

  1. Checkout the branch
  2. Visit the organizations page http://gdk.test:3000/-/organizations/
  3. Verify that New Organization button is hidden
  4. Enable the FF Feature.enable(:allow_organization_creation, current_user)
  5. Verify that button is displayed correctly
  6. Verify that correct message is displayed when FF is disabled!
  7. Verify that creation works with the FF enabled! :tada:

prerequisite: ui_for_organizations FF should be enabled.

Related to #441531 (closed)

Edited by Bojan Marjanovic

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Alex Pennells
  • added 1 commit

    Compare with previous version

  • Bojan Marjanovic requested review from @apennells

    requested review from @apennells

  • A deleted user added feature flag label

    added feature flag label

  • Alex Pennells approved this merge request

    approved this merge request

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading