Skip to content

Add access level badge to organization group and project list

What does this MR do and why?

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/

In !142614 (merged) and !141429 (merged) we swapped a mock GraphQL query for the real one on organization groups and projects list. The API did not yet support access level so we temporarily left that out. Now that the API supports access level because of !141969 (merged) we can show the access level badge in the UI. The UX for this was already approved in !139175 (merged) back when we were using mock data.

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

Groups

Before After
Screenshot_2024-02-21_at_3.46.36_PM Screenshot_2024-02-21_at_3.44.59_PM

Projects

Before After
Screenshot_2024-02-21_at_3.46.54_PM Screenshot_2024-02-21_at_3.45.15_PM

How to set up and validate locally

  1. Enable the feature flag
echo "Feature.enable(:ui_for_organizations)" | gdk rails c
  1. Navigate to /-/organizations/default/groups_and_projects
Edited by Peter Hegman

Merge request reports