Details
-
Type: Sub-task
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.3.0-b1
-
Component/s: Staff Interface
-
Labels:None
Description
A new Report.clientData event dandler needs to be created to retrieve data from the registered plugins. This is particularly useful for GDPR purposes when Blesta needs to retrieve all client information for export, but is not aware of client data that plugins may be storing. The plugin should register with this event and return any data necessary.
- Add a new Event Handler, Report.clientData. It should be triggered when the client export report is generated
- Each registered plugin should be given the client ID and return back all client-related data in a single object
- Care should be taken to limit memory and processing usage
Change the name of this event to "Report.clientData". So, create a new "EventsReportCallback" with a method "clientData".