Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Account Deactivation Feature for Administrators #710

Open
jtucholski opened this issue Jan 31, 2025 · 0 comments
Open

Add Account Deactivation Feature for Administrators #710

jtucholski opened this issue Jan 31, 2025 · 0 comments
Labels
feature - addition New feature or request for a new feature

Comments

@jtucholski
Copy link
Contributor

Description

Currently, administrators cannot directly deactivate a resident's account. The workaround of resetting a user’s password is neither intuitive nor ideal. We need to introduce a proper account deactivation feature that allows administrators to temporarily or permanently block a resident's access to the platform.

User Stories

1. Deactivating Accounts

As an Administrator I want to deactivate a resident’s account in cases of misconduct or violations, so I can block their access without relying on a password reset.

2. Reactivating Accounts

As an Administrator I want the ability to reactivate a deactivated account when necessary, so residents can regain access once conditions are met.

3. Show Account Status

As an Administrator I want to see an account’s status (active or deactivated) clearly in the user management interface, so I know whether a resident has access.

4. Log Deactivate/Reactivation

As the System it is important to log that a deactivation or account reactivation took place so that there is a traceable record of this happening.

Acceptance Criteria

  • Deactivation Functionality
    • A “Deactivate Account” button is added to the admin user management interface for each resident.
    • Clicking this button immediately blocks the resident’s login access.
    • A confirmation dialog appears before deactivating the account to prevent accidental actions.
  • Reactivation Functionality
    • Deactivated accounts have a "Reactive Account" button that is available.
    • Clicking this button restores the resident's access.
  • Account status indicator
    • Ideally each resident's account status is shown with a visual indicator. If we want to "grey out" or label it then the Administrator should be clear to the Adminsitrator that it is deactivated.
  • Logging
    • Some sort of traceable record exists to indicate that the account was deactivated by an Administrator (and which administrator did it).
  • Authentication
    • Deactivated accounts cannot log in.
    • When a deactivated user tries to log in they see a message, "Your account has been deactivated."
@jtucholski jtucholski added the feature - addition New feature or request for a new feature label Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature - addition New feature or request for a new feature
Projects
None yet
Development

No branches or pull requests

1 participant