WordPress.org

Make WordPress Core

Opened 6 months ago

Last modified 8 days ago

#44676 assigned enhancement

Support comma-seperated list for Privacy Requests

Reported by: garrett-eclipse Owned by: garrett-eclipse
Milestone: 5.2 Priority: normal
Severity: normal Version: 4.9.6
Component: Privacy Keywords: has-screenshots has-patch needs-testing ux-feedback
Focuses: privacy Cc:

Description

Hello,

It would help admins speed up their privacy request workflow to allow them to supply a comma-seperated list of usernames or email addresses to spawn multiple requests through the Privacy tools (Erase Personal Data & Export Personal Data). Aside from the functionality splitting the submission on comma if present and generating multiple requests from the result this would just need some minor verbiage changes to the instructions, etc.

Thanks

Attachments (7)

Screen Shot 2018-07-30 at 10.36.02 AM.png (29.7 KB) - added by garrett-eclipse 6 months ago.
Export Personal Data form
Screen Shot 2018-07-30 at 10.36.12 AM.png (29.5 KB) - added by garrett-eclipse 6 months ago.
Erase Personal Data form
44676.diff (5.1 KB) - added by garrett-eclipse 3 months ago.
Adds support for multiple requests via comma-separated list.
44676.2.diff (5.2 KB) - added by garrett-eclipse 3 months ago.
Added breaks to avoid execution when Invalid Action
44676.3.diff (5.2 KB) - added by garrett-eclipse 3 months ago.
Fixed spelling of comma-delimited
Screen Shot 2018-10-11 at 12.15.42 AM.png (71.1 KB) - added by garrett-eclipse 3 months ago.
Erase Personal Data request form w/ new verbiage
Screen Shot 2018-10-11 at 12.15.48 AM.png (71.9 KB) - added by garrett-eclipse 3 months ago.
Export Personal Data request form w/ updated verbiage

Download all attachments as: .zip

Change History (12)

@garrett-eclipse
6 months ago

Export Personal Data form

@garrett-eclipse
6 months ago

Erase Personal Data form

@garrett-eclipse
3 months ago

Adds support for multiple requests via comma-separated list.

@garrett-eclipse
3 months ago

Added breaks to avoid execution when Invalid Action

@garrett-eclipse
3 months ago

Fixed spelling of comma-delimited

@garrett-eclipse
3 months ago

Erase Personal Data request form w/ new verbiage

@garrett-eclipse
3 months ago

Export Personal Data request form w/ updated verbiage

#1 @garrett-eclipse
3 months ago

  • Keywords has-patch needs-testing ux-feedback added

Added initial patch w/ 44676.diff

This introduces the ability to supply a comma-delimited list to the Privacy tools to generate multiple requests.

Introduces $count & $failure_count to track success/failures to be output via notices.

Placed $action_type check prior to the loop and added breaks to avoid execution.

Split the incoming request string by the comma delimiter and ran foreach on results.

Introduced check on wp_create_user_request and wp_send_user_request.

Provided two notices with plurals for success and failure counts.

Updated verbiage on request forms to remove part about ' at this email address ' as it's not true when a user is supplied. Without reads more concisely - 'An email will be sent to the user asking them to verify the request.'

Added verbiage to request forms to indicate comma-delimited lists are now supported - 'To trigger multiple requests supply the usernames or email addresses in a comma-delimited list.'

Please review and test.

This ticket was mentioned in Slack in #core-privacy by garrett-eclipse. View the logs.


3 months ago

#3 @garrett-eclipse
3 months ago

  • Milestone changed from Awaiting Review to 5.1

#4 @desrosj
2 weeks ago

  • Milestone changed from 5.1 to 5.2

This still needs testing and UX feedback.

#5 @garrett-eclipse
8 days ago

  • Owner set to garrett-eclipse
  • Status changed from new to assigned
Note: See TracTickets for help on using tickets.