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

Deleting old managed users data #38

Open
ahukkanen opened this issue Aug 4, 2023 · 0 comments
Open

Deleting old managed users data #38

ahukkanen opened this issue Aug 4, 2023 · 0 comments

Comments

@ahukkanen
Copy link
Contributor

Currently this module only deletes data for users accounts that do not have an email address as specified at:

I think the module should also delete old managed users which do not have an email on their account:
https://github.com/decidim/decidim/blob/3187bdfd40ea1c57c2c12512b09a7fec0b2bed08/decidim-admin/app/controllers/decidim/admin/impersonations_controller.rb#L100-L102

Of course, these users cannot be notified but using the same logic, those users could be marked as "notified" (warning_date) about the deletion the same way and delete those accounts using the same logic as for "regular" users.

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

No branches or pull requests

1 participant