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

[NEW] GDPR Right to be forgotten/erased #9947

merged 4 commits into from Mar 26, 2018


Copy link

@Hudell Hudell commented Feb 28, 2018


Closes #9766

This PR adds a new setting where the admin can choose what action to perfom with the user's messages when an user is removed.

The possible options are: Keep (don't remove any message), Delete (Removes all messages) and Unlink (Change the userId of all messages to the user).

@Hudell Hudell added this to the 0.63.0 milestone Feb 28, 2018
@Hudell Hudell self-assigned this Feb 28, 2018
@@ -500,6 +500,20 @@ RocketChat.models.Messages = new class extends RocketChat.models._Base {
return this.update(query, update);

unlinkUserId(userId, newUserId, newUsername) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can a flag be set on the message that this message has changed owner/sender? That way future confusion can be cleared up. Obviously the original creator information can't be stored, but a flag saying this didn't originally come from the user and instead came from someone else.

@rodrigok rodrigok added this to Desireable in 0.63.0 via automation Mar 26, 2018
@rodrigok rodrigok merged commit b8da215 into RocketChat:develop Mar 26, 2018
0.63.0 automation moved this from Desireable to Done Mar 26, 2018
@rodrigok rodrigok mentioned this pull request Apr 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
No open projects

Successfully merging this pull request may close these issues.

None yet

3 participants