14 lines
839 B
PHP
14 lines
839 B
PHP
<?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))),
|
|
];
|