-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Delete User should not delete files by default, should not force user file deletion #22372
Comments
cc @nextcloud/server-triage is this feasible? |
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue seems to need info from the nextcloud-maintainers and not the issue creator. |
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions. |
@szaimen What to do about this bot closing tickets which need a reply from nextcloud maintainers/staff/knowledged? |
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions. |
I understand that this is a difficult request, both from the technical part and the legal one. Talking about the legal requirements, here we have two potentially conflicting rights: the right of the user of confidentiality (privacy or data protection or...) and the right of the employer to maintain the internal data. A first rough solution could be to allow the selection @dereks proposes. One could also think that it could be some setting that the administrator picks: something like "when deleting a user, ask if the system has to maintain the files? Yes [ ], No [ ]". A more complete solution would require a careful verification of what is "company data" and what is "personal data" in all the user data (chats, contacts, ....). That is country and sector specific. |
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions. |
Another (possible) usage for this feature might be the 'movement of a user'. Since we can't rename a user, one would need a new account with their data being transferred (eg. if their name changes). Asking what should happen with the files not only prevents accidental loss of data, it makes things easier for the user. [PS: And I still think your nextcloud-stale bot has a bug because in every issue with the 'needs-info' label [I see], the info is asked from the nextcloud staff side and not the creator of the issue… – hence the automatic closing makes no sense to me] |
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions. |
Ping! (Can you implement a Ping-Pong Game for the Bot? Possibly with emotes ;)) I'd really like to know what the odds are for/against this feature from nc-staff… |
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions. |
Still relevant (Ping!). |
Rereading this issue, I feel that here we have a clear distinction between the "personal" situation and the "professional" one. I'll try to clarify:
Tough nut to crack...! |
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions. |
Can someone pls add a 'no-stale' label?? … |
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions. |
Monthly "Ping" as it seems. At least the bot isn't slow with a "Pong" =) |
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions. |
How to use GitHub
Is your feature request related to a problem? Please describe.
Every Unix-like system (including Linux), plus also Microsoft Windows, does not delete a user's files (by default) when you delete the user. One must take extra action, either deleting their home dir manually with
rm -rf /home/USER/
or else providing an override option likedeluser --remove-home ...
ordeluser --remove-all-files ...
.Nextcloud runs on a Posix stack with open protocols, so I expect it to behave the same as every other system I've administered over the past 30 years.
Also, some companies and institutions like legal, insurance, or health companies have special laws where they are not allowed to delete data.
Describe the solution you'd like
Offer a non-default GUI check-mark that says "Also delete this user's files?"
It would also be nice if the GUI offered:
"Transfer this user's files to user: ..." so when an employee quits the company their files can be taken over by their boss or their replacement employee.
It would also be nice if the GUI offered:
"Archive this user's files" that just tarballs all their files into the SuperAdmin account who is deleting this user.
It would also be nice if config.php allowed enabled or disabling each of these options so that a dumb SuperAdmin can't accidentally delete user data, especially if it's against company policy (or against the law).
Describe alternatives you've considered
Google's G Suite also defaults to deleting user files at user deletion, like the current Nextcloud behavior. However, unlike Nextcloud, Google gives you 20 days to restore a deleted user account.
Google also provides you instructions on what to do before you delete a user:
https://support.google.com/a/answer/33314#Before
The text was updated successfully, but these errors were encountered: