Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 24e61e0

Browse files
Added a legal disclaimer about the "date_of_birth" customer attribute (#8488)
* Updated PI reference * Updated config guide * Updated graphql guide
1 parent d8c889d commit 24e61e0

File tree

12 files changed

+23
-12
lines changed

12 files changed

+23
-12
lines changed

src/_includes/graphql/create-customer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Attribute | Data Type | Description
22
--- | --- | ---
3-
`date_of_birth` | String | The customer’s date of birth
3+
`date_of_birth` | String | The customer’s date of birth. In keeping with current security and privacy best practices, be sure you are aware of any potential legal and security risks associated with the storage of customers’ full date of birth (month, day, year) along with other personal identifiers, such as full name, before collecting or processing such data.
44
`dob` | String | Deprecated. Use `date_of_birth` instead. The customer’s date of birth
55
`email` | String | The customer’s email address. Required to create a customer
66
`firstname` | String | The customer’s first name. Required to create a customer

src/_includes/graphql/customer-input-24.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Attribute | Data Type | Description
22
--- | --- | ---
33
`addresses` | [CustomerAddress](#customerAddressInput) | An array containing the customer's shipping and billing addresses
44
`created_at` | String | Timestamp indicating when the account was created
5-
`date_of_birth` | String | The customer's date of birth
5+
`date_of_birth` | String | The customer's date of birth. In keeping with current security and privacy best practices, be sure you are aware of any potential legal and security risks associated with the storage of customers’ full date of birth (month, day, year) along with other personal identifiers, such as full name, before collecting or processing such data.
66
`default_billing` | String | The ID assigned to the billing address
77
`default_shipping` | String | The ID assigned to the shipping address
88
`dob` | String | Deprecated. Use `date_of_birth` instead. The customer's date of birth

src/_includes/graphql/customer-input.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Attribute | Data Type | Description
22
--- | --- | ---
33
`addresses` | [CustomerAddress](#customerAddressInput) | An array containing the customer's shipping and billing addresses
44
`created_at` | String | Timestamp indicating when the account was created
5-
`date_of_birth` | String | The customer's date of birth
5+
`date_of_birth` | String | The customer's date of birth. In keeping with current security and privacy best practices, be sure you are aware of any potential legal and security risks associated with the storage of customers’ full date of birth (month, day, year) along with other personal identifiers, such as full name, before collecting or processing such data.
66
`default_billing` | String | The ID assigned to the billing address
77
`default_shipping` | String | The ID assigned to the shipping address
88
`dob` | String | Deprecated. Use `date_of_birth` instead. The customer's date of birth

src/_includes/graphql/customer-output-24.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Attribute | Data Type | Description
1818
--- | --- | ---
1919
`addresses` | {{ customeraddress_text }} | An array containing the customer's shipping and billing addresses
2020
`created_at` | String | Timestamp indicating when the account was created
21-
`date_of_birth` | String | The customer's date of birth
21+
`date_of_birth` | String | The customer's date of birth. In keeping with current security and privacy best practices, be sure you are aware of any potential legal and security risks associated with the storage of customers’ full date of birth (month, day, year) along with other personal identifiers, such as full name, before collecting or processing such data.
2222
`default_billing` | String | The ID assigned to the billing address
2323
`default_shipping` | String | The ID assigned to the shipping address
2424
`dob` | String | Deprecated. Use `date_of_birth` instead. The customer's date of birth

src/_includes/graphql/customer-output.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Attribute | Data Type | Description
22
--- | --- | ---
33
`addresses` | [CustomerAddress](#customerAddressOutput) | An array containing the customer's shipping and billing addresses
44
`created_at` | String | Timestamp indicating when the account was created
5-
`date_of_birth` | String | The customer's date of birth
5+
`date_of_birth` | String | The customer's date of birth. In keeping with current security and privacy best practices, be sure you are aware of any potential legal and security risks associated with the storage of customers’ full date of birth (month, day, year) along with other personal identifiers, such as full name, before collecting or processing such data.
66
`default_billing` | String | The ID assigned to the billing address
77
`default_shipping` | String | The ID assigned to the shipping address
88
`dob` | String | Deprecated. Use `date_of_birth` instead. The customer's date of birth

src/compliance/privacy/pi-data-reference-m2.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Magento 2 primarily stores customer-specific information in customer, address, o
4545

4646
### Customer data {#customer-data}
4747

48-
Magento 2 stores the following customer attributes:
48+
Magento 2 can be figured to store the following customer attributes:
4949

5050
- Date of Birth
5151
- Email
@@ -56,6 +56,9 @@ Magento 2 stores the following customer attributes:
5656
- Name Prefix
5757
- Name Suffix
5858

59+
{:.bs-callout-info}
60+
In keeping with current security and privacy best practices, be sure you are aware of any potential legal and security risks associated with the storage of customers’ full date of birth (month, day, year) along with other personal identifiers, such as full name, before collecting or processing such data.
61+
5962
#### `customer_entity` and 'customer_entity' references
6063

6164
The following columns in the `customer_entity` table contain customer information:

src/guides/v2.3/config-guide/prod/config-reference-most.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ Prefix Dropdown Options | `customer/address/prefix_options` | <!-- ![Not EE-only
405405
Show Middle Name (initial) | `customer/address/middlename_show` | <!-- ![Not EE-only]({{ site.baseurl }}/common/images/red-x.png) --> |
406406
Show Suffix | `customer/address/suffix_show` | <!-- ![Not EE-only]({{ site.baseurl }}/common/images/red-x.png) --> |
407407
Suffix Dropdown Options | `customer/address/suffix_options` | <!-- ![Not EE-only]({{ site.baseurl }}/common/images/red-x.png) --> |
408-
Show Date of Birth | `customer/address/dob_show` | <!-- ![Not EE-only]({{ site.baseurl }}/common/images/red-x.png) --> |
408+
Show Date of Birth | `customer/address/dob_show`<br>In keeping with current security and privacy best practices, be sure you are aware of any potential legal and security risks associated with the storage of customers’ full date of birth (month, day, year) along with other personal identifiers, such as full name, before collecting or processing such data.| <!-- ![Not EE-only]({{ site.baseurl }}/common/images/red-x.png) --> |
409409
Show Tax/VAT Number | `customer/address/taxvat_show` | <!-- ![Not EE-only]({{ site.baseurl }}/common/images/red-x.png) --> |
410410
Show Gender | `customer/address/gender_show` | <!-- ![Not EE-only]({{ site.baseurl }}/common/images/red-x.png) --> |
411411
Enable Store Credit Functionality | `customer/magento_customerbalance/is_enabled` | ![EE-only]({{ site.baseurl }}/common/images/cloud_ee.png) |

src/guides/v2.3/extension-dev-guide/configuration/sensitive-and-environment-settings.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ Examples of sensitive information include:
2828
* E-mail addresses
2929
* Any personally identifiable information (e.g., address, phone number, date of birth, government identification number, etc.)
3030

31+
{:.bs-callout-info}
32+
In keeping with current security and privacy best practices, be sure you are aware of any potential legal and security risks associated with the storage of customers’ full date of birth (month, day, year) along with other personal identifiers, such as full name, before collecting or processing such data.
33+
3134
### Environment or system-specific values
3235

3336
_Environment_ or _system-specific_ values are unique to the system where Magento is deployed.

src/guides/v2.3/graphql/develop/resolvers.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,14 +284,17 @@ input CustomerInput {
284284
lastname: String @doc(description: "The customer's family name")
285285
suffix: String @doc(description: "A value such as Sr., Jr., or III")
286286
email: String @doc(description: "The customer's email address. Required")
287-
date_of_birth: String @doc(description: "The customer's date of birth")
287+
date_of_birth: String @doc(description: "The customer's date of birth.")
288288
taxvat: String @doc(description: "The customer's Tax/VAT number (for corporate customers)")
289289
gender: Int @doc(description: "The customer's gender(Male - 1, Female - 2)")
290290
password: String @doc(description: "The customer's password")
291291
is_subscribed: Boolean @doc(description: "Indicates whether the customer is subscribed to the company's newsletter")
292292
}
293293
```
294294

295+
{:.bs-callout-info}
296+
In keeping with current security and privacy best practices, be sure you are aware of any potential legal and security risks associated with the storage of customers’ full date of birth (month, day, year) along with other personal identifiers, such as full name, before collecting or processing such data.
297+
295298
The `createCustomer` mutation returns `CustomerOutput` object
296299

297300
```text
@@ -319,7 +322,9 @@ type Customer @doc(description: "Customer defines the customer name and address
319322
addresses: [CustomerAddress] @doc(description: "An array containing the customer's shipping and billing addresses")
320323
gender: Int @doc(description: "The customer's gender (Male - 1, Female - 2)")
321324
}
322-
```
325+
326+
{:.bs-callout-info}
327+
In keeping with current security and privacy best practices, be sure you are aware of any potential legal and security risks associated with the storage of customers’ full date of birth (month, day, year) along with other personal identifiers, such as full name, before collecting or processing such data.
323328
324329
The following example shows the `createCustomer` mutation in action:
325330

src/guides/v2.4/config-guide/prod/config-reference-most.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ Prefix Dropdown Options | `customer/address/prefix_options` | <!-- ![Not EE-only
406406
Show Middle Name (initial) | `customer/address/middlename_show` | <!-- ![Not EE-only]({{ site.baseurl }}/common/images/red-x.png) --> |
407407
Show Suffix | `customer/address/suffix_show` | <!-- ![Not EE-only]({{ site.baseurl }}/common/images/red-x.png) --> |
408408
Suffix Dropdown Options | `customer/address/suffix_options` | <!-- ![Not EE-only]({{ site.baseurl }}/common/images/red-x.png) --> |
409-
Show Date of Birth | `customer/address/dob_show` | <!-- ![Not EE-only]({{ site.baseurl }}/common/images/red-x.png) --> |
409+
Show Date of Birth | `customer/address/dob_show`<br>In keeping with current security and privacy best practices, be sure you are aware of any potential legal and security risks associated with the storage of customers’ full date of birth (month, day, year) along with other personal identifiers, such as full name, before collecting or processing such data.| <!-- ![Not EE-only]({{ site.baseurl }}/common/images/red-x.png) --> |
410410
Show Tax/VAT Number | `customer/address/taxvat_show` | <!-- ![Not EE-only]({{ site.baseurl }}/common/images/red-x.png) --> |
411411
Show Gender | `customer/address/gender_show` | <!-- ![Not EE-only]({{ site.baseurl }}/common/images/red-x.png) --> |
412412
Enable Store Credit Functionality | `customer/magento_customerbalance/is_enabled` | ![EE-only]({{ site.baseurl }}/common/images/cloud_ee.png) |

0 commit comments

Comments
 (0)