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

Allow to disable users first before deleting them #31

Closed
tcitworld opened this issue Sep 15, 2019 · 3 comments · Fixed by #519
Closed

Allow to disable users first before deleting them #31

tcitworld opened this issue Sep 15, 2019 · 3 comments · Fixed by #519

Comments

@tcitworld
Copy link
Member

Since deleting users is a rather destructive action, it would be nice to first disable them before actually deleting them just in case.

Needs a new input field to set the number of days after which an user should be disabled.

@coffeemesh
Copy link

I really would appreciate this feature! Is anyone actively working on this?
Otherwise I will be looking into it and hopefully figure out how to implement it myself, any and every help would be appreciated.

@nickvergessen
Copy link
Member

I guess the code place is around
https://github.com/nextcloud/user_retention/blob/master/lib/BackgroundJob/ExpireUsers.php#L117

You can take inspiration from the files retention:
https://github.com/nextcloud/files_retention/blob/master/lib/BackgroundJob/RetentionJob.php#L173-L175

@tcitworld
Copy link
Member Author

I had started to write an app for this a while ago, feel free to have a look https://framagit.org/framasoft/nextcloud/purge

mejo- added a commit that referenced this issue Feb 24, 2023
Add new config parameters for disabling normal and guest users and
allow to configure them in the settings UI.

Fixes: #31

Signed-off-by: Jonas <jonas@freesources.org>
nickvergessen pushed a commit that referenced this issue Feb 27, 2023
Add new config parameters for disabling normal and guest users and
allow to configure them in the settings UI.

Fixes: #31

Signed-off-by: Jonas <jonas@freesources.org>
nickvergessen pushed a commit that referenced this issue Mar 20, 2023
Add new config parameters for disabling normal and guest users and
allow to configure them in the settings UI.

Fixes: #31

Signed-off-by: Jonas <jonas@freesources.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants