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

Deactivated a users after X days #1

Open
green17 opened this issue Jul 26, 2022 · 2 comments
Open

Deactivated a users after X days #1

green17 opened this issue Jul 26, 2022 · 2 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@green17
Copy link

green17 commented Jul 26, 2022

Does the plugin let you remove users after X days? so if they have not used the account or it's a trial etc?

@bymayo
Copy link
Owner

bymayo commented Jul 27, 2022

@green17 I've got it planned to create a console command (Which could be run via a CRON) and also a bit of logic if you log in to the CMS to allow users to be deleted after X amount of time that they are deactivated. Then garbage collection within Craft will handle actually deleting them completely.

Would this work for you?

How would you define if they are on a trial? Are they in a particular member group?

@bymayo bymayo added the question Further information is requested label Jul 27, 2022
@green17 green17 closed this as completed Jul 27, 2022
@green17
Copy link
Author

green17 commented Jul 27, 2022

@bymayo that all sounds great.

Yes for trials they would be in a particular member group. If they are in that particular group longer than X days they get deactivated and then removed X days later after that, is that what your thinking? if so that would be great.

The other thing we were thinking was to remove users that are no longer active eg maybe a year/X days. So if the user has not logged in at that time then deactivated and then removed X days later after that. This would be for GDPR and just keeping the system clean.

An email to the users to say this is happing X days before would be great too. :-)

@bymayo bymayo reopened this Aug 23, 2022
@bymayo bymayo added the enhancement New feature or request label Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants