Able to disable users (instead of delete) to preserve activity history (OD-2246)
jbauer opened 12 months ago

We are now in a situation that we have to disable access to OneDev for multiple users but there is no satisfying solution.

The requirements are:

  • If a user must be deleted, then OneDev should keep the user name everywhere in OneDev instead of changing the name to "Unknown". Reason is that deleting users to deny access should not degrade the ability to search for issues, etc of these users.
  • Alternatively being able to disable a given user
    • User should not receive any notification
    • The login UI should not mention that the user is disabled but instead behave as if the user does not exist
    • Password reset function should not work
    • The disabled state should be shown in the user list UI (admin UI)

Currently we can only delete a user but then loose context in issues etc or rename the user, e.g. "_disabled", and disable some notifications.

  • empinator commented 12 months ago

    We are looking into a similar feature. Just because we eventually have people (temporaritly) parting the company or don't want individuals to sign on again, but we don't want to loose context of the who the user was. side note: we are using an external auth provider (Entra ID).

  • Robin Shen referenced from other issue 12 months ago
  • Daniel commented 10 months ago

    We are looking into a similar feature. Just because we eventually have people (temporaritly) parting the company or don't want individuals to sign on again, but we don't want to loose context of the who the user was. side note: we are using an external auth provider (Entra ID).

    Exactly the same use case for us. Would be great to have a full transparent history.

  • Robin Shen changed fields 9 months ago
    Name Previous Value Current Value
    Labels
    empty
    Enterprise Edition
  • Robin Shen changed title 9 months ago
    Previous Value Current Value
    Disable users or keep user name of deleted users
    Able to disable users (instead of delete) to preserve activity history
  • OneDev commented 9 months ago

    State changed as code fixing the issue is committed (62d6cd48b24a504ace9154b01123c8f97e3f81cd)

  • OneDev changed state to 'Closed' 9 months ago
    Previous Value Current Value
    Open
    Closed
  • OneDev commented 9 months ago

    State changed as build OD-6104 is successful

  • OneDev changed state to 'Released' 9 months ago
    Previous Value Current Value
    Closed
    Released
issue 1/1
Type
New Feature
Priority
Normal
Assignee
Labels
Enterprise Edition
Issue Votes (1)
Watchers (7)
Reference
OD-2246
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover