Skip to content

Delete a user #2287

Open
Open
@pronguen

Description

Is your feature request related to a problem? Please describe.

  • Sometimes, a person asks to remove all his.her personal data from the system, which is currently impossible through the interface.
  • Following to the migration, a lot a duplicated users have been created and their correction is impossible through the interface
  • To deactivate a user in the super-administration, we must first check manually in all organisation if it is not linked to a patron

Describe the solution you'd like

Public interface:

  • a button "Delete my profile" somewhere in the page /account/settings/profile/ and also /patrons/profile (tab Personal data)
    • with confirmation message: Do you really want to delete your profile? This will also unsubscribe you from: [name of the organisation(s) with patron resource linked].
    • possible only if no active transaction exist (fee, loan)

Pro interface

  • when deleting a patron, two options are proposed in the confirmation message: "Delete patron" / "Delete patron and personal data".
    • deleting the user is possible/enabled only if no active transaction exist (fee, loan) AND if no patron in other organisation exist

Describe alternatives you've considered

A "Delete" button in the personal data form (pro interface).

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    • Status

      Inbox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions