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

Reactivate user button #816

Open
3 tasks
eatyourpeas opened this issue Feb 29, 2024 · 0 comments
Open
3 tasks

Reactivate user button #816

eatyourpeas opened this issue Feb 29, 2024 · 0 comments
Assignees
Labels
feature request This is a desirable feature

Comments

@eatyourpeas
Copy link
Member

see #813
Rather than delete a user, instead deletion converted to deactivation. Retains referential integrity this way for related models and good for user audit trail.
Inactive users now viewable in the UI, but need a way of reactivating by those with appropriate permissions should they need.
Suggested work flow:

  • add button to user table
  • new post request url for reactivate user. Could add additional feature to email user to say account now active.
  • new htmx post request function in view to reactivate user - set is_active flag on user to True
@eatyourpeas eatyourpeas added the feature request This is a desirable feature label Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request This is a desirable feature
Projects
None yet
Development

No branches or pull requests

2 participants