docs/ai_builder/organization/roles_and_permissions.md
Roles decide what each person can do. Reflex has two levels of roles:
The two are assigned separately. Organization roles govern running the organization; project roles govern the work done inside a project.
Every member has one organization role.
| Member | Manager | Admin | |
|---|---|---|---|
| Belong to the organization and use the projects they're added to | ✓ | ✓ | ✓ |
| Create new projects | ✓ | ✓ | |
| View the organization audit log | ✓ | ✓ | |
| Add and remove members, change roles | ✓ | ||
| Rename or delete the organization | ✓ | ||
| Manage billing, seats, and credits | ✓ | ||
| Verify domains and configure single sign-on | ✓ | ||
| Connect cloud providers | ✓ | ||
| Automatically an Admin of every project | ✓ |
Manage these roles from Roles in the organization sidebar.
When the built-in roles grant too much or too little access, an organization admin can select New role and create a custom organization role. Each custom role starts with Member access and can add:
For example, a billing manager can manage billing without receiving Admin access to every project. Custom organization roles do not replace Admin for managing organization members or administering every project.
When you add a member or team to a project, you assign a project role. Reflex has three built-in roles, plus custom roles for cases the built-ins don't cover.
Team assignments have additional role restrictions. See Adding a team to a project.
| Viewer | Editor | Admin | |
|---|---|---|---|
| View the project, its apps, and activity | ✓ | ✓ | ✓ |
| Create apps | ✓ | ✓ | |
| Create threads (Build chats) | ✓ | ✓ | |
| See that secrets exist (view names) | ✓ | ✓ | |
| Reveal secret values | ✓ | ||
| Add and edit secrets | ✓ | ||
| Manage integrations | ✓ | ||
| Approve deployments | ✓ | ||
| Approve project changes | ✓ | ||
| View the project audit log | ✓ | ||
| Rename the project | ✓ | ||
| Delete the project | ✓ | ||
| Add and remove project members, assign roles | ✓ | ||
| Create and edit custom roles | ✓ |
Service accounts can have the organization Member or Manager role, but never organization Admin. Grant their project access separately from the service account's Manage dialog, where they can receive Viewer, Editor, or Admin.
Use the lowest organization and project roles required by the automation.
A person's effective access to a project can combine their organization role, team assignments, and a directly assigned project role:
For instructions on reviewing direct and inherited access, see Viewing effective permissions.
Guidelines for most teams:
Organization custom roles add selected organization permissions to Member access. Project custom roles start from a project access level and add selected project permissions. See Custom project roles for the complete project permission list and setup steps.