Roles & Permissions (RBAC)
AVAILABLENaagmani implements a granular Role-Based Access Control (RBAC) model to enforce the principle of least privilege across organization assets.
- Portal Location:
Organization > Roles & Permissions(/roles) - API Endpoint:
/v1/roles
Standard Role Hierarchy #
Rendering diagram...
graph TD
Owner["Owner (Full Billing & Org Deletion)"]
Admin["Admin (User, Provider & Policy Management)"]
Member["Member (Project Developer & Key Creator)"]
Viewer["Viewer (Read-Only Telemetry & Audit Logs)"]
Owner --> Admin
Admin --> Member
Member --> Viewer
Permission Matrix #
| Capability / Resource | Owner | Admin | Member | Viewer |
|---|---|---|---|---|
| Manage Billing & Subscriptions | ✅ | ❌ | ❌ | ❌ |
| Manage BYOK Upstream Providers | ✅ | ✅ | ❌ | ❌ |
| Invite / Remove Portal Users | ✅ | ✅ | ❌ | ❌ |
| Create & Rotate API Keys | ✅ | ✅ | ✅ | ❌ |
| Configure Routing Policies | ✅ | ✅ | ✅ | ❌ |
| Create AI Agents & Tools | ✅ | ✅ | ✅ | ❌ |
| Send Inference Requests via API | ✅ | ✅ | ✅ | ❌ |
| View Telemetry & Audit Logs | ✅ | ✅ | ✅ | ✅ |
Custom Roles & Capability Grants #
For enterprise deployments requiring fine-grained policies, custom roles can be defined by bundling specific permission strings:
providers.read,providers.manageapi_keys.read,api_keys.managerouting_policies.read,routing_policies.manageaudit.readbilling.read,billing.manage