Add directionality field to JobToken::RemoveProject GraphQL mutation
What does this MR do and why?
This MR adds the ability to remove inbound token scopes from a source Project. The current RemoveProject mutation works perfectly well, but for outbound scopes only. Following the design of !99166 (merged), we're now adding a relatively straightforward change to allow direction
in GraphQL requests.
There had originally been some extra refactoring as part of this MR, but we decided against it because there's other work depending on this. If we want to make some internal changes with Allowlist and the ProjectScopeLink scopes/queries, we can do that afterward in a follow-up.
How to set up and validate locally
A GraphQL request can be sent directly to the API to ensure this works.
To be added
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.