2026-07-03 02:15:31 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Auto-create Customer for User
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
| When enabled, creating a User automatically creates and attaches a bare
|
|
|
|
|
| Customer record (storefront passwordless-signup convention). Shops that
|
|
|
|
|
| drive the relationship the other way around (creating a Customer first,
|
|
|
|
|
| then a User for portal login) should set this to false.
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
'auto_create_customer_for_user' => true,
|
|
|
|
|
|
2026-08-24 21:06:11 +03:00
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Privacy / GDPR data-subject requests
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
| 'providers' lists every Modules\Core\Privacy\Contracts\PersonalDataProvider
|
|
|
|
|
| that should be consulted for right-of-access/right-of-erasure requests. A
|
|
|
|
|
| module never needs to be known to core in advance — it just adds its own
|
|
|
|
|
| provider class here, the same way config('lunar.search.indexers') maps a
|
|
|
|
|
| model to its indexer. See docs/privacy.md.
|
|
|
|
|
|
|
|
|
|
|
| 'grace_period_days' is how long an erasure request stays cancellable
|
|
|
|
|
| (account deactivated, not yet erased) before it's actually processed by
|
|
|
|
|
| the privacy:process-erasure-requests scheduled command.
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
'privacy' => [
|
|
|
|
|
'providers' => [
|
|
|
|
|
\Modules\Core\Privacy\Providers\CustomerDataProvider::class,
|
|
|
|
|
\Modules\Core\Privacy\Providers\AddressDataProvider::class,
|
|
|
|
|
\Modules\Core\Privacy\Providers\OrderDataProvider::class,
|
|
|
|
|
\Modules\Core\Privacy\Providers\CartDataProvider::class,
|
|
|
|
|
\Modules\Core\Privacy\Providers\ReviewDataProvider::class,
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
'grace_period_days' => 30,
|
|
|
|
|
],
|
|
|
|
|
|
2026-07-03 02:15:31 +03:00
|
|
|
];
|