Skip to content

Unable to delete a user once they log in once #26

@Tookmund

Description

@Tookmund

Postgres sensibly does not allow a row to be deleted if it is referenced from somewhere else, so once a user has an entry in the oauth table, i.e. once they login, they can never be deleted.

Either #21 should be resolved by using user ids and user accounts should only ever be disabled not deleted, we should clean up the corresponding entry in the oauth table before deleting the user.
However this would still prevent any user who ever checked something out from being deleted.

Deleting users was a bad idea, the rows really should just be flagged as unused.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions