commit12
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// No entitlement store exists yet. Preserve the installed composition; explicit
|
||||
// tenant/company restrictions can only narrow it. Never activates a package.
|
||||
'contracted' => ['commercial', 'purchasing', 'stock', 'workshop', 'finance', 'accounting'],
|
||||
'companies' => [], // "tenant:company" => ['contracted' => [...], 'enabled' => [...]]
|
||||
// Explicit development discovery profiles, scoped as "user:tenant:company".
|
||||
// Empty in the installed product; never populated from client names or emails.
|
||||
// This is not an operational permission and is ignored in production.
|
||||
'development_profiles' => array_values(array_filter(array_map('trim', explode(',', (string) env('SGF_DEVELOPMENT_PROFILES', ''))),
|
||||
fn($profile) => preg_match('/^[1-9][0-9]*:[1-9][0-9]*:[1-9][0-9]*$/D', $profile))),
|
||||
];
|
||||
Reference in New Issue
Block a user