Make the organization data available without FF

What does this MR do and why?

This change simplifies how organization information is shared with the frontend. Previously, the code would only expose the current organization's details (like ID, name, and URL) to the frontend if both an organization existed AND a specific UI feature was enabled. Now it will expose this information whenever an organization exists, regardless of whether that UI feature is turned on or off.

We need this to get the organization id when fetching work item types in admin instance

The backend API changes are not done yet. It should be done very soon as soon as we have the id available 🙂

References

Screenshots or screen recordings

Before After

How to set up and validate locally

  1. Switch off ui_for_organizations FF
  2. See that you are able to see the organization data on the gon helper with/without FF on when there is an organization

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.

Related to #583593 (closed)

Edited by Deepika Guliani

Merge request reports

Loading