Skip to content

Reduce the risk of race conditions #131

@cmenon12

Description

@cmenon12

What feature do you want to see added?

Reduce the risk of race conditions due to gaps between reading and writing to the database.

Why do you want this feature? Does it solve a problem?

There is a risk of race conditions in a few areas, including:

  • If two users register simultaneously as the first users, both could become admins.
  • If a user is created but f or some reason their workspace is not.
  • If two users who are the last active admins both demote themselves or deactivate themselves.

How should the feature be implemented?

No response

Additional context (if applicable)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions