Overview
Nadoo AI implements a two-level role-based access control (RBAC) system. System roles govern platform-wide capabilities, while workspace roles control what a user can do within a specific workspace. Together they ensure that every user has the minimum privileges needed for their tasks.System Roles
Platform-level roles that determine administrative access across the entire Nadoo AI instance.
Workspace Roles
Per-workspace roles that control resource-level permissions within a single workspace.
System Roles
System roles are assigned at the platform level and determine a user’s global capabilities.| Role | Priority | Description |
|---|---|---|
| Super Admin | 100 | Full control over the entire platform. Can manage all users, workspaces, and system settings. |
| Admin | 80 | Can manage users, create and update applications, knowledge bases, models, tools, and workspaces. Cannot access super-admin-only settings. |
| User | 50 | Standard platform user. Can read applications, knowledge bases, models, tools, and workspaces they have access to. |
| Guest | 10 | Minimal read-only access. Can view applications and knowledge bases only. |
Every new account is assigned the User system role by default. Only an existing Super Admin can promote a user to Admin or Super Admin.
Workspace Roles
Within each workspace, members are assigned one of three roles that govern resource-level permissions.| Role | Priority | Description |
|---|---|---|
| Owner | 100 | Full control over the workspace, including member management, all resources, and workspace deletion. |
| Admin | 80 | Can manage all resources (applications, knowledge bases, models, tools, workflows) and workspace members. Cannot delete the workspace or transfer ownership. |
| Member | 50 | Can read, create, and update most resources. Cannot delete resources, manage members, or change workspace settings. |
Permission Matrix
The table below shows exactly which actions each workspace role can perform.| Action | Owner | Admin | Member |
|---|---|---|---|
| Create applications | Yes | Yes | Yes |
| Update applications | Yes | Yes | Yes |
| Delete applications | Yes | Yes | No |
| Execute applications | Yes | Yes | Yes |
| Create knowledge bases | Yes | Yes | Yes |
| Update knowledge bases | Yes | Yes | Yes |
| Delete knowledge bases | Yes | Yes | No |
| Register models | Yes | Yes | Yes |
| Update models | Yes | Yes | No |
| Delete models | Yes | Yes | No |
| Create tools | Yes | Yes | Yes |
| Delete tools | Yes | Yes | No |
| Create workflows | Yes | Yes | Yes |
| Update workflows | Yes | Yes | Yes |
| Delete workflows | Yes | Yes | No |
| Manage members | Yes | Yes | No |
| Manage workspace roles | Yes | Yes | No |
| Update workspace settings | Yes | Yes | No |
| Delete workspace | Yes | No | No |
Permission Groups
Permissions are organized into groups that map to major platform features. Each permission combines a group with an action (Create, Read, Update, Delete, Execute, Export, Import, Share, or Manage).Application Permissions
Application Permissions
Controls access to applications, their configurations, chat users, and chat logs. Sub-groups include:
APPLICATION— Core CRUD operationsAPPLICATION_OVERVIEW— Dashboard and analyticsAPPLICATION_ACCESS— Access control settingsAPPLICATION_CHAT_USER— Chat user managementAPPLICATION_CHAT_LOG— Conversation history
Knowledge Base Permissions
Knowledge Base Permissions
Controls access to knowledge bases, documents, and search features. Sub-groups include:
KNOWLEDGE— Core CRUD operationsKNOWLEDGE_DOCUMENT— Document upload and managementKNOWLEDGE_PROBLEM— Problem detection and qualityKNOWLEDGE_HIT_TEST— Search testing and evaluation
Model & Tool Permissions
Model & Tool Permissions
MODEL— AI model provider registration and configurationTOOL— Custom tool creation and managementWORKFLOW— Workflow creation, editing, and execution
System & Workspace Permissions
System & Workspace Permissions
WORKSPACE— Workspace settings and configurationWORKSPACE_ROLE— Role assignment within a workspaceUSER_MANAGEMENT— Platform-level user administrationEMAIL_SETTING,DISPLAY_SETTINGS,LOGIN_AUTH— System configurationOPERATION_LOG— Audit log access
Inviting Users to a Workspace
Workspace Owners and Admins can invite new members through the API or the workspace settings page.Navigate to Workspace Settings
Open Workspace Settings > Members in the Nadoo AI dashboard, or use the API directly.
Add a Member
Provide the user’s ID and the desired role. Via the API:Valid role values:
owner, admin, member.Changing a Member’s Role
Owners and Admins can update a member’s role at any time:Removing a Member
User Profile & Authentication
Each user account stores the following profile information:| Field | Description |
|---|---|
email | Unique email address (used for login) |
username | Optional unique display name |
full_name | User’s display name |
avatar_url | Profile picture URL |
language | Preferred UI language (default: en) |
timezone | Preferred timezone (default: UTC) |
is_verified | Whether the email has been verified |
is_active | Whether the account is enabled |
Social Login
Nadoo AI supports social account linking for streamlined authentication. Users can connect their accounts from supported OAuth providers (e.g., Google, GitHub) to enable single-click sign-in.Best Practices
Apply the principle of least privilege
Apply the principle of least privilege
Assign the Member role by default. Only promote users to Admin or Owner when they genuinely need elevated access. This limits the blast radius of compromised credentials.
Audit role changes regularly
Audit role changes regularly
Use the audit log (
GET /api/v1/system/audit-logs) to review role assignments. Look for unexpected privilege escalations.Use workspace isolation for projects
Use workspace isolation for projects
Create separate workspaces for different teams or projects rather than sharing a single workspace with complex permission overrides.
Require email verification
Require email verification
Set
EMAIL_VERIFICATION_REQUIRED=true in your environment to ensure all users verify their email before gaining access to workspace resources.