Create GraphQL mutation to revoke source user mappings
Background
Part of #478147. No API currently lists source users by reassign_to_user;
SourceUsersFinder is namespace-scoped and requires :admin_namespace.
Proposal
- New scope on
Import::SourceUserfiltering byreassign_to_userandcompletedstatus. - New
currentUserfield (e.g.importSourceUsers) returning the viewer's completed mappings, paginated. New policy ability (e.g.read_own_import_source_userinImport::SourceUserPolicy) granted when viewer ==reassign_to_user. - New mutation
Import::SourceUsers::Revoke, consistent with existing mutations inapp/graphql/mutations/import/source_users/. Authorizes a newrevoke_import_source_userability (viewer ==reassign_to_user, statuscompleted). - Behind the feature flag from #629219 (closed).
Depends on #629219 (closed).