feat: introduce app-admin authorization and audit logging
- add migrations for owner/member workspace roles and application admins - centralize /admin access checks with DB-backed admin resolution - audit admin analytics/billing route access - update account/admin UI typing and env/docs for ADMIN_EMAILS fallback behavior
This commit is contained in:
@@ -53,7 +53,8 @@ Configure these server-side env vars to enable billing routes:
|
||||
- `STRIPE_PRICE_EXPORT_PACK_10K`
|
||||
- `STRIPE_PRICE_EXPORT_PACK_50K`
|
||||
- `STRIPE_BILLING_PORTAL_CONFIGURATION_ID` optional
|
||||
- `BILLING_ADMIN_EMAILS` optional comma-separated allowlist for internal billing admin access
|
||||
- `ADMIN_EMAILS` optional comma-separated allowlist for internal app-admin access (preferred)
|
||||
- `BILLING_ADMIN_EMAILS` optional deprecated fallback allowlist used when `ADMIN_EMAILS` is unset
|
||||
|
||||
Notes:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user