Platforms
1Auth / RBAC
DiyaOS Control Plane
Tenants
3Platform admins
1Tenant admins
1Credentials
6OTP due
2Apps ready
4Shared Auth Backend
fastapidiyaos-auth https://auth.diyaos.local
OpenAPI https://auth.diyaos.local/openapi.json
Health https://auth.diyaos.local/health
Agent Protocols
MCP / A2AApp Integration Readiness
4 appsDiyaOS Control Plane implemented
- Issuer
- https://auth.diyaos.com
- Standalone
- os.diyaos.com, diyaos.com, admin.diyaos.com, account.diyaos.com, os.diyaos.local
- Integrated
- /apps/os
- Backend
- fastapi / diyaos-auth
sharedAuthstandaloneDomainsredirectUrisopenApimcpa2a
Diya Email Console implemented
- Issuer
- https://auth.diyaos.local
- Standalone
- email.diyaos.local
- Integrated
- /apps/email
- Backend
- fastapi / diyaos-email
sharedAuthstandaloneDomainsredirectUrisopenApimcpa2a
Diya Brand House implemented
- Issuer
- https://auth.diyaos.local
- Standalone
- brand.diyaos.local
- Integrated
- /apps/brand
- Backend
- fastapi / diyaos-brand-api
sharedAuthstandaloneDomainsredirectUrisopenApimcpa2a
Diya Vault planned
- Issuer
- https://auth.diyaos.local
- Standalone
- vault.diyaos.local
- Integrated
- /apps/vault
- Backend
- fastapi / diyaos-vault-api
sharedAuthstandaloneDomainsredirectUrisopenApimcpa2a
Passwordless Login
primaryWebAuthn passkeys Primary login on trusted devices through diyaos.local
FIDO2 security keys Allowed for roaming keys, backups, and high-assurance admins
OTP step-up 10 minute codes every
30 days, plus recovery and high-risk actions
Selected Auth Posture
2 credentialsAmal laptop passkey webauthn-passkey / platform
YubiKey backup fido2-security-key / cross-platform
Registration Workflows
5 requestsLina Basri platform admin registration
- Scope
- Diya Platform
- Role
- Platform Admin
- Responsible
- Ravi Menon
- Auth
- webauthn-passkey, fido2-security-key
Platform Admin may grant Platform Admin in Diya Platform.
Design Studio tenant provisioning
- Scope
- Design Studio / Diya Platform
- Role
- Tenant Admin
- Responsible
- Maya Haddad
- Auth
- webauthn-passkey
Ravi Menon may create Design Studio and assign Tenant Admin in Diya Platform.
Sara Khalid tenant admin registration
- Scope
- Construction Studio / Diya Platform
- Role
- Tenant Admin
- Responsible
- Maya Haddad
- Auth
- webauthn-passkey
Tenant Admin may grant Tenant Admin in Construction Studio / Diya Platform.
Nabil Farah tenant user registration
- Scope
- Construction Studio / Diya Platform
- Role
- Tenant User
- Responsible
- Maya Haddad
- Auth
- webauthn-passkey
Tenant Admin may grant Tenant User in Construction Studio / Diya Platform.
Atelier Admin tenant admin registration
- Scope
- Atelier Partner / Diya Platform
- Role
- Tenant Admin
- Responsible
- Ravi Menon
- Auth
- webauthn-passkey
Platform Admin may grant Tenant Admin in Atelier Partner / Diya Platform.
Scope Map
5 scopesDiya Platform active
Diya Core OpsConstruction StudioAtelier Partner
Ravi Menon
Tenant Responsibility
admins and usersPlatform admin: Ravi Menon Tenant admin: Amal Noor Users: Vault Indexer Agent
Platform admin: Ravi Menon Tenant admin: Maya Haddad Users: Omar Salim
Platform admin: Ravi Menon Tenant admin: Amal Noor Users: None yet
Authorization Check
1 roles Manage tenants is allowed through OS Admin.
Role Grant Gate
open OS Admin may grant Tenant Admin in Construction Studio / Diya Platform.
Role Matrix
4 roles / 58 permissionsFull DiyaOS authority across the fixed platform, tenants, users, policy, and audit.
Runs tenant operations under the fixed DiyaOS platform and manages tenants, admins, users, and delegated agents.
Runs one tenant and manages tenant users, memberships, app access, and local audit review.
Uses tenant applications and reads the tenant context available to their memberships.
Permission Catalog
risk tiersIdentity
Read principals low
Manage principals high
Authentication
Read authenticators low
Manage authenticators high
Issue OTP step-up medium
RBAC
Read role policy low
Assign roles high
Platform
Read platforms low
Manage platform configuration high
Manage platform admins high
Tenant
Read tenants low
Manage tenants high
Read tenant users low
Manage tenant users medium
Manage tenant admins high
Audit
Read audit events low
Apps
Access apps low
Agents
Delegate agents medium
Read voice sessions low
Create voice sessions medium
End voice sessions medium
Monitor voice sessions high
Invoke voice agents medium
Configure voice agents high
Read voice transcripts medium
Communication
Read email connections low
Manage email connections high
Read email sender identities low
Manage email sender identities high
Send email medium
Read email status medium
Read email audit medium