Some data must not stay forever. When someone leaves your company, or a person asks you to delete their data, you anonymize them. Name and e-mail address are then replaced by a placeholder such as “Anonymized user 3”. The tickets stay. Reports, deadlines, time entries and satisfaction figures keep counting.
Each person gets their own number. Two entries with the same number come from the same person. The e-mail address becomes “anonymized-3@anonymized.invalid”. No mail can be delivered to such an address, so the system leaves it out when it sends mail. The placeholder is stored in English and stays English in every language.
There are two ways. The automatic way anonymizes deleted accounts after a set number of months. The immediate way anonymizes one person at once, for example after a request for erasure.
The automatic way is under “Settings → Security” in the “Data protection” card. The switch “Anonymize deleted users automatically” is off as the factory setting. Next to “after” you enter the number of months. Allowed are 1 to 120, the factory setting is 36. “Save” stores a changed number.
The time counts from the day an account was deleted. The system checks every ten minutes whether a run is due. It runs once a day, at the first check after 03:00 in the time zone under “Settings → General Settings”. Every deleted account whose time is up is anonymized in that run.
When you turn the switch on, a window opens first. It lists the deleted users the next run will anonymize, each with the day of deletion. Type ANONYMIZE into the field and click “Confirm”. Only then is the switch on. If it is already past 03:00 in that time zone, the first run follows within about ten minutes.
The same window appears when you shorten the number of months while the switch is on. Turning it off needs no confirmation.
The time only starts when an account is deleted. Archiving is not enough. An archived account is only locked and can come back at any time, for example after parental leave. To delete an account, click the bin symbol “Delete account” in its row under “User management”.
A window says what follows before anything happens. If automatic anonymization is on, it names the number of months. A deleted account appears in the “Archived” view with the “Deleted” badge. The symbol “Restore account” brings it back. For administrators and agents, Basic needs a free seat for that. If the account is deleted again later, the time starts again.
Your own account has no bin symbol. Only an administrator can delete or archive an administrator account. The last active administrator can be neither deleted nor archived.
So when someone has left for good, delete the account and do not only archive it. An account that has been archived for more than a year shows a calendar symbol in its row. Its tooltip reminds you to delete the account.
The immediate way is in the data export dialog, in the “Anonymize” area below the findings. You open the dialog from the row of an account, or with “Export by e-mail address” for a person without an account.
If the address belongs to an account, click “Use this account” first. Only then is the account itself anonymized. A run by the address alone replaces the address where it is stored and leaves the account as it is.
Type ANONYMIZE into the field and click “Anonymize”. An active account is deleted first and then anonymized. Your own account cannot be anonymized. Neither can the last active administrator.
Afterwards the row carries the “Anonymized” badge. Such an account can no longer be edited, restored or reactivated. Only the data export remains. You may run the anonymization again. The number stays the same, and data restored since is covered as well.
The box “Also clear the content of tickets this person requested” goes further. The number in brackets is the number of those tickets. Their texts are cleared and their attachments are deleted. Tickets of other people in which the person only replied are only anonymized.
Check your retention duties first. In Germany, for example, business letters must be kept for six years. The dialog reminds you of that. The automatic way only anonymizes. It never clears content.
If a file could not be deleted from the server, the dialog says how many. The run still counts as done. The system does not try again on its own.
Every run is recorded with its time, the number of the placeholder and what was changed. For the immediate way, the record also names who started it. It holds neither the name nor the e-mail address of the person.
Anonymizing needs the “Anonymize people” permission. By default, only administrators have it. Only an administrator can use it. It can never be given to the “Customer” role. The data export dialog also needs “Data export (data subject request)”.
Limits
Names in running text stay, for example “Regards, Max” at the end of a mail. Phone numbers in running text stay as well. Neither can be recognized reliably. For a customer’s tickets there is the box for clearing the content.
If another account has the same first and last name, the person’s name is not replaced in the ticket history or as the requester name. Otherwise the entries of the other person would be hit too. Address and phone number are still replaced. The check compares first and last name. The assignment history stores the sign-in name. A namesake who appears there only with a sign-in name is therefore not detected.
Very old entries in the ticket history that do not yet point to the account only carry the name. They are not recognized.
A ticket that an agent recorded by phone without the requester’s e-mail address is not recognized. The requester’s name and phone number stay in it.
Addresses in settings are not changed, for example in mail rules and automation rules. If the person’s address appears there, change it yourself.
If the person writes again after the run, a new run by their address also covers the new e-mails. You start it with “Export by e-mail address”. The number stays the same. A new run on the anonymized account does not find the new e-mails. The account no longer knows the old address.
The system takes care of archives itself. When you restore an archive, every person anonymized before is anonymized again in the restored tickets. The message after restoring says how many. An address that appears in those tickets only in running text is not recognized there. Archive files are also updated by the nightly run after an anonymization. The card “Retention periods” explains it.
Backups are different. A backup made before a run still holds the old data. “Ticket System Backup & Restore” takes care of that when you restore. It asks whether everyone anonymized in today’s state should be anonymized again. “Yes” is preselected. The ticket system then does this in the nightly run at 03:00 in the time zone that is set. This also applies if the switch is off. Until then their names are visible again. The “Data protection” card shows a note with the number. The backup also brings back the switch setting of that time. So check the switch after restoring.
If you restore a backup some other way, answer “No”, or use “--no-reapply” on the command line, this does not happen. The automatic way then finds the deleted accounts again, as long as the switch is on. Runs you started by hand have to be repeated. The link “Download list of anonymizations” in the “Data protection” card helps with that. Download the list before you restore. Afterwards it no longer contains the runs made after the backup. The list has one row per anonymized person, with the columns “Date”, “Number”, “Account ID”, “E-mail hash” and “Content cleared”. “Date” is the time of the first run in UTC. “Account ID” is only filled if an account was anonymized. “E-mail hash” is a fingerprint of the address that cannot be reversed. “Content cleared” says whether the content of the requested tickets was cleared. After each run, download the list by hand and keep it outside the system. A backup made before a run does not contain that run.
Deletion requests and returning people
Deleting and anonymizing are two different things. “Delete account” only hides an account. “Restore account” brings it back. Until then its e-mail address stays reserved for this account. So you fulfil a request for erasure with “Anonymize” in the data export dialog. This cannot be undone. Name and address are replaced by “Anonymized user” and the number. The link to the account at a single sign-on provider is deleted.
Each e-mail address belongs to exactly one account. If you create an account with an address that another account already holds, the system refuses. The message reads “This e-mail address already belongs to another account.” The same applies when you change the address of an account. If the address belongs to a deleted account, the message reads “This e-mail address belongs to a deleted account. Restore that account instead.” Then restore the old account instead of creating a new one. Anonymized accounts do not count. They only carry the placeholder address.
A deleted account cannot be restored if another active account now holds the same address. The message then reads “This e-mail address already belongs to another account.” First change the address of the other account.
From the time before this rule there may be accounts that share an address. The user management shows them with the note “This e-mail address belongs to more than one account. Change it so that each account has its own address.” Give each of these accounts its own address. Until then, signing in with this address instead of the user name does not work. The password reset mail is not sent either.
If a person returns after a request for erasure, they get a new account. This applies, for example, when they sign in again through Google or Microsoft with the same address. For that, “Automatically create accounts on first sign-in” must be on. The anonymized account no longer carries their address and does not stand in the way of the new account.
Old anonymizations never affect this person’s new tickets. This also applies after a backup or an archive has been restored. When an anonymization is applied again, it only covers data that was created before its time.
If the old account was only deleted and not anonymized, the system refuses the first sign-in through SSO with this address. What the person sees depends on the provider. If the provider confirms the address, the message reads “An account with this e-mail address was deleted. Ask an administrator to restore it.” If it does not, the message reads “Your e-mail address is not verified with the provider.” That way the system does not reveal whether a deleted account exists for an address.
As an administrator you then have two ways. If you restore the old account with “Restore account”, the person continues in it with their history. Sign-in through SSO works if the account was already linked to this provider or the provider confirms the address. If the request for erasure still applies, anonymize the old account. Afterwards the address is free, and the sign-in creates a new account.
Self-registration answers neutrally in this case: “Registration could not be completed. If you already have an account, use the password reset on the sign-in page.” It does not reveal whether an account exists for the address.