Files
Investidor-V2/config/portal.php
T
nala 20971d523f
tests / ci (push) Canceled after 0s
oportunidades 6
2026-10-10 21:17:46 +02:00

27 lines
1.5 KiB
PHP

<?php
return [
'legacy_content_qa_enabled' => env('PORTAL_LEGACY_CONTENT_QA_ENABLED', false),
'profile_access_enabled' => (bool) env('PORTAL_PROFILE_ACCESS_ENABLED', false),
// Prepared increment; enable only in QA until the authenticated rollout is approved.
'opportunity_dashboard_access_enabled' => env('PORTAL_OPPORTUNITY_DASHBOARD_ACCESS_ENABLED', false),
'opportunity_specialized_drafts_enabled' => env('PORTAL_OPPORTUNITY_SPECIALIZED_DRAFTS_ENABLED', false),
// Accepted first QA version, additionally guarded by the actual isolated database identity.
'opportunity_modular_profiles_qa_enabled' => env('PORTAL_OPPORTUNITY_MODULAR_PROFILES_QA_ENABLED', false),
'opportunity_other_qa_subtypes' => [],
'operator_name' => env('PORTAL_OPERATOR_NAME'),
'support' => [
'email' => env('PORTAL_SUPPORT_EMAIL'),
'phone' => env('PORTAL_SUPPORT_PHONE'),
'address' => env('PORTAL_SUPPORT_ADDRESS'),
'hours' => env('PORTAL_SUPPORT_HOURS'),
],
'notifications_enabled' => env('PORTAL_NOTIFICATIONS_ENABLED', false),
'notification_recipients' => array_values(array_filter(array_map('trim', explode(',', (string) env('PORTAL_NOTIFICATION_RECIPIENTS', ''))))),
// Explicit access list; public registration never grants management access.
'managers' => array_values(array_filter(array_map(
fn ($email) => strtolower(trim($email)),
explode(',', (string) env('PORTAL_MANAGER_EMAILS', '')),
))),
];