Skip to content

DeleteUser should interact with project roles and user edits #3875

Open
@imnasnainaec

Description

@imnasnainaec

A site admin, from site settings can delete any non-admin user. Several issues:

  • There's a dialog confirming deletion, but no warnings what projects the user is on or what edits they have
  • When the user is deleted, their user roles and user edits are orphaned in the database
  • The frontend gui prevents admins from deleting other admins, but the backend controller doesn't prevent it

Currently it requires a maintenance script to delete projects and the script handles all the cleanup. Perhaps it should be the same with users. From the gui, would we want the ability to disable accounts instead of deleting them (like archiving a project)?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions