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

Create reaper monitor for deleting inactive admins #34

Merged
merged 1 commit into from
Apr 5, 2024

Conversation

attemoi
Copy link
Contributor

@attemoi attemoi commented Apr 5, 2024

Description

New reaper monitor created for deleting externally authenticated admin users with over 180 days since last login.

A new column last_signed_in added in admincredentials table. This field is updated each time an admin signs in.

This reaper is registered as part of the already existing bin/database_reaper script, which is run once per day.

Motivation and Context

https://jira.lingsoft.fi/browse/SIMPLYE-226 - Clean inactive e-kirjasto admins from circulation DB

Checklist

  • I have updated the documentation accordingly.
  • All new and existing tests passed.

@attemoi attemoi force-pushed the feature/simplye-226/clean-inactive-admins branch from e0aaa7a to 5843ff6 Compare April 5, 2024 05:30
New column `last_signed_in` added to `admincredentials` table,
updated each time an admin signs in.

Configured to delete users with over 180 days since last login.
@attemoi attemoi merged commit ad477c7 into main Apr 5, 2024
24 checks passed
@attemoi attemoi deleted the feature/simplye-226/clean-inactive-admins branch April 5, 2024 07:22
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