Refactor member roles front-end to use GraphQL instead of REST API
What does this MR do and why?
Refactors the custom-roles frontend to use GraphQL queries to fetch, create & delete custom roles instead of REST API. We will clean-up the REST API endpoints in a follow-up MR.
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
There aren't any changes visually
How to set up and validate locally
- Turn on SaaS Mode and make sure you have an
Ultimate license
% export GITLAB_SIMULATE_SAAS=1
% gdk restart
- Log-in as admin, navigate to any group that you are an
Owner
of, and go toSettings > Roles and Permissions
. - Add/view/delete a custom role.
- You can also navigate to the Roles and Permissions in the Admin Area (
/admin/application_settings/roles_and_permissions
) and manage custom roles all groups.
Related to #429690 (closed)
Edited by Hinam Mehra