Implement compliance exports and retention overrides
This commit is contained in:
19
app/Enums/DataExportScope.php
Normal file
19
app/Enums/DataExportScope.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
enum DataExportScope: string
|
||||
{
|
||||
case USER = 'user';
|
||||
case TENANT = 'tenant';
|
||||
case EVENT = 'event';
|
||||
|
||||
public function label(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::USER => __('User'),
|
||||
self::TENANT => __('Tenant'),
|
||||
self::EVENT => __('Event'),
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user