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

MTP-1931: Disable users who’ve not logged in for some time #795

Merged
merged 3 commits into from
Apr 8, 2024

Conversation

ushkarev
Copy link
Contributor

@ushkarev ushkarev commented Apr 8, 2024

Users who have not logged in for 3 months count are set as inactive by a new management command.
Applies only to non-staff (i.e. those that cannot log into Django admin) and non-superadmin users of these mtp apps: cashbook, bank-admin & noms-ops

@ushkarev ushkarev changed the title MTP-1931: Add a management command that disables users who’ve not been active for some time MTP-1931: Disable users who’ve not logged in for some time Apr 8, 2024
…or some time

Applies only to non-staff (i.e. those that cannot log into Django admin) and non-superadmin users of these mtp apps: cashbook, bank-admin & noms-ops
…this is because they are often line managers and rarely log into mtp websites
@ushkarev ushkarev marked this pull request as ready for review April 8, 2024 15:03
@ushkarev ushkarev requested a review from a team as a code owner April 8, 2024 15:03
@ushkarev ushkarev merged commit 86e3267 into main Apr 8, 2024
6 checks passed
@ushkarev ushkarev deleted the disable-inactive-users branch April 8, 2024 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants