Feat: Updating the Privacy Providers, moving them into the appropriate Modules, Updating Privacy views
This commit is contained in:
@@ -3,9 +3,14 @@
|
||||
namespace Modules\Core\Privacy\Enums;
|
||||
|
||||
/**
|
||||
* What actually happened to a provider's data on an erasure request. None of these
|
||||
* are failures — Retained is a valid, often legally-required outcome (e.g. an Order
|
||||
* kept intact for tax retention), distinct from a provider erroring out.
|
||||
* What actually happened to a provider's data on an erasure request. Erased/
|
||||
* Pseudonymized/Retained/Skipped are never failures — Retained is a valid, often
|
||||
* legally-required outcome (e.g. an Order kept intact for tax retention), distinct
|
||||
* from a provider erroring out. Failed is the one genuine failure case: a provider
|
||||
* threw an exception instead of returning normally — see Modules\Core\Privacy\
|
||||
* Services\PrivacyService::completeErasure(), which catches per-provider so one
|
||||
* provider throwing doesn't discard every other provider's already-computed
|
||||
* result for the same request.
|
||||
*/
|
||||
enum ErasureOutcome: string
|
||||
{
|
||||
@@ -13,4 +18,5 @@ enum ErasureOutcome: string
|
||||
case Pseudonymized = 'pseudonymized';
|
||||
case Retained = 'retained';
|
||||
case Skipped = 'skipped';
|
||||
case Failed = 'failed';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user