Skip to content
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
@erzhtor

Description

@erzhtor

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    debtTechnical debt.team/sourceTickets under the purview of Source - the one Source to graph it all

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions