This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
[Request access] Refactor "Approve" access request to use an atomic transaction #48244
Open
Description
Currently "Approve" access request button handler uses three GQL queries to check if the username is free, to approve the access request, and to create a new user. This should be rewritten to use a single GQL mutation/resolver. The "create user" part must be reused with the existing "CreateUser" mutation.
/cc @sourcegraph/source/iam