Source snapshot: 13 October 2026. These pages describe the current implementation, including unfinished controls. See coverage and review notes.
- English
- മലയാളം
Platform roles
Host:control.<ROOT_DOMAIN> · Route: /rolesPurpose and access
Inspect platform-level permissions and assign or revoke platform access.You need an account session and platform access. Platform privileges are separate from tenant roles; privileged writes remain subject to endpoint role checks.Screen layout
Platform Roles & Permissions shows role summaries and staff assignments. Assign Platform Role asks for a user and SUPER_ADMIN, PLATFORM_STAFF, or PLATFORM_SUPPORT.Fields and displayed information
Displayed table columns: Permission, Identifier Key, SUPER_ADMIN, PLATFORM_STAFF, PLATFORM_SUPPORT, Operator, Contact Email, Phone, Account Status, Action.Fields and filters: Roles permissions view
Actions
Interaction sequence
Assign Role → choose account and role → Grant Platform Access → refresh. Revoke sends role=null for the selected account.States and rules
These roles apply across the control plane and do not replace tenant roles. The API restricts grant/revoke operations; the role summary is descriptive rather than an editable permission matrix.The rendered action controls bind loading indicators to pending state. Failed API saves keep their documented error/notification path; a loading indicator alone does not establish persistence.Implementation references
Paths below are relative to the application repository. This is source-reviewed behavior, not a recorded browser test.apps/web/src/app/sites/control/(app)/roles/page.tsxapps/web/src/features/platform/roles-permissions-view.tsx
apps/web/src/lib/platform.ts, apps/web/src/lib/server-api.ts, apps/web/src/lib/api-client.tsAPI behavior references
apps/api/src/platform/platform-tenant-access.controller.tsapps/api/src/platform/platform.controller.tsapps/api/src/billing/plans.controller.tsapps/api/src/billing/tenant-billing.controller.tsapps/api/src/features/features.controller.tsapps/api/src/features/tenant-features.controller.tsapps/api/src/forms/forms.controller.tsapps/api/src/analytics/analytics.controller.tsapps/api/src/analytics/tenant-analytics.controller.ts