Files

45 lines
2.7 KiB
PHP

<?php
return [
// Technical homologation reservation, independent of roles and publication.
// Technical access mechanism; no new portal role or MFA requirement.
'homologation_access_mode' => env('INVESTMOZ_HOMOLOGATION_ACCESS_MODE', 'reviewers'),
'homologation_only' => (bool) env('INVESTMOZ_HOMOLOGATION_ONLY', false),
'homologation_reviewers' => array_values(array_filter(array_map(
fn ($email) => strtolower(trim($email)),
explode(',', (string) env('INVESTMOZ_HOMOLOGATION_REVIEWERS', '')),
))),
'organization_country_enabled' => env('PORTAL_ORGANIZATION_COUNTRY_ENABLED', false),
'legacy_content_enabled' => env('PORTAL_LEGACY_CONTENT_ENABLED', false),
'legacy_content_qa_enabled' => env('PORTAL_LEGACY_CONTENT_QA_ENABLED', false),
'profile_access_enabled' => (bool) env('PORTAL_PROFILE_ACCESS_ENABLED', false),
// Prepare and audit assignments without opening operational opportunity routes.
'profile_administration_enabled' => (bool) env('PORTAL_PROFILE_ADMINISTRATION_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),
// Experimental proposal only; functional approval and operational SLA remain pending.
'opportunity_modular_profiles_qa_enabled' => env('PORTAL_OPPORTUNITY_MODULAR_PROFILES_QA_ENABLED', false),
'opportunity_other_qa_subtypes' => [],
'operator_name' => env('PORTAL_OPERATOR_NAME') ?: 'Tempo, Lda.',
// Tempo, 19/10/2026: institutional contact; commercial department remains separate.
'institutional_contact_email' => env('PORTAL_INSTITUTIONAL_CONTACT_EMAIL', 'comercial@tempo.co.mz'),
'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.
'document_managers' => array_values(array_filter(array_map(
fn ($email) => strtolower(trim($email)),
explode(',', (string) env('PORTAL_DOCUMENT_MANAGER_EMAILS', '')),
))),
'managers' => array_values(array_filter(array_map(
fn ($email) => strtolower(trim($email)),
explode(',', (string) env('PORTAL_MANAGER_EMAILS', '')),
))),
];