Add delete_user ability to OrganizationUser permission type
What does this MR do and why?
This is part of the ongoing work on Organization by grouptenant scale.
delete_user
returns whether the organization user can be deleted by
the current user or not.
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.
How to set up and validate locally
Run the following GraphQL query on https://gdk.test:3000/-/graphql-explorer:
{
organization(id: "gid://gitlab/Organizations::Organization/1") {
id
organizationUsers {
nodes {
id
userPermissions {
removeUser
deleteUser
}
}
}
}
}
Related to #442698 (closed)