Use GraphQL to delete custom role on Roles and Permissions page
requested to merge 434431-use-graphql-to-delete-custom-role into 431713-use-graphql-to-fetch-custom-roles
What does this MR do and why?
For the Roles and Permissions page in a group's settings or the admin area, there's a table that shows created custom roles:
Group Roles and Permissions page | Admin Area Roles and Permissions page |
---|---|
![]() |
![]() |
This MR switches the deletion of a custom role from REST to GraphQL.
How to set up and validate locally
- Go to a top-level group's page, then click on
Settings -> Roles and Permissions
. - Create some custom roles using the
Add new role button
. - Delete a custom role and verify that it was deleted using a GraphQL mutation.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #434431 (closed)
Edited by Daniel Tian