Hosting dev-access: resolve via central identity API (shadow mode)
Deploy Ladill Hosting / deploy (push) Successful in 23s
Deploy Ladill Hosting / deploy (push) Successful in 23s
Consolidate the inline HostingAccountMember lookups (Overview/Search/Hosting Product/Afia controllers) into HostingAccessResolver, which can source hosting developer-access from the monolith's central /identity/hosting/developer-access (correlating cPanel usernames to local account ids). Shadow mode by default (HOSTING_CENTRAL_DEV_ACCESS=false): local hosting_account_members stays authoritative and divergence from central is logged; flip the flag to cut over. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
174ead7d3e
commit
107013bd04
@@ -1,6 +1,19 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Central developer access
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When true, hosting developer-access authorization is sourced from the
|
||||
| central monolith (account.ladill.com) via the identity API instead of the
|
||||
| local hosting_account_members table. While false (shadow mode), local data
|
||||
| stays authoritative and any divergence from central is logged.
|
||||
|
|
||||
*/
|
||||
'central_dev_access' => env('HOSTING_CENTRAL_DEV_ACCESS', false),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Contabo API Configuration
|
||||
|
||||
Reference in New Issue
Block a user