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 |
---|---|
Projects
Before | After |
---|---|
How to set up and validate locally
- Enable the feature flag
echo "Feature.enable(:ui_for_organizations)" | gdk rails c
- Navigate to
/-/organizations/default/groups_and_projects