Skip to content

Commit 230b666

Browse files
authored
Merge pull request #81 from dotkernel/versions
added reference, anonymization
2 parents ca81229 + 3f291d3 commit 230b666

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Account anonymization
2+
3+
## Premise
4+
5+
According to the GDPR, companies that record personal data from EU citizens must delete said data if its owner requests its deletion.
6+
An alternative is to anonymize the data, according to [this article](https://commission.europa.eu/law/law-topic/data-protection/reform/rules-business-and-organisations/dealing-citizens/do-we-always-have-delete-personal-data-if-person-asks_en).
7+
8+
## Definition
9+
10+
### What is Personally identifiable information?
11+
12+
According to [this article](https://commission.europa.eu/law/law-topic/data-protection/reform/what-personal-data_en), Personally identifiable information (PII) is:
13+
14+
- A name and surname.
15+
- A home address.
16+
- An email address such as [email protected].
17+
- An identification card number.
18+
- Location data (for example the location data function on a mobile phone).
19+
- An Internet Protocol (IP) address.
20+
- A cookie ID.
21+
- The advertising identifier of your phone.
22+
- A phone number.
23+
- Data held by a hospital or doctor, which could be a symbol that uniquely identifies a person.
24+
25+
Out of the box, Dotkernel API saves the user's name (firstname and lastname) and email (identity).
26+
This personal data is used for emails related to password reset and account activation.
27+
28+
## Process
29+
30+
### Anonymization
31+
32+
The anonymization process makes these replacements:
33+
34+
- The firstname and lastname are replaced with `anonymous` concatenated with the current UNIX timestamp, e.g. `anonymous1725980747`.
35+
- The email is replaced with `anonymous` concatenated with the current UNIX timestamp and the value in `userAnonymizeAppend`, e.g. `[email protected]`.
36+
- The avatar image and its database record are deleted.
37+
38+
The `userAnonymizeAppend` key can be set in `config/autoload/local.php` or left empty.
39+
40+
> Using an email domain for `userAnonymizeAppend` would work as a catch-all email, if your email service provider has this option enabled.

mkdocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ nav:
5757
- "Render Documentation": v5/openapi/render-documentation.md
5858
- "Use Documentation": v5/openapi/use-documentation.md
5959
- "Getting Help": v5/openapi/getting-help.md
60+
- Reference:
61+
- "Anonymize Accounts": v5/reference/account-anonymization.md
6062
- v4:
6163
- Introduction: v4/introduction/introduction.md
6264
- Overview:

0 commit comments

Comments
 (0)