Roles & Permissions
Aster Agents uses Clerk’s organization-based role and permission system to control access to features within your organization. This allows you to grant different levels of access to team members based on their responsibilities.Overview
All users must belong to an organization to use Aster Agents. Within each organization, users are assigned roles that determine what actions they can perform. Roles can be combined with custom permissions for fine-grained access control.Default Roles
Organization Admin (org:admin)
Full administrative access to all organization features and settings.
Capabilities:
- ✅ Create, edit, and delete agents
- ✅ Manage model providers and API keys
- ✅ Configure integrations
- ✅ Manage knowledge bases
- ✅ View organization-wide analytics
- ✅ Invite and remove users
- ✅ Assign roles and permissions
- ✅ Access all admin-only features
- Organization owners
- IT administrators
- Team leads with full platform responsibility
Organization Member (org:member)
Standard user with read-only access to agents and limited organization visibility.
Capabilities:
- ✅ Chat with agents
- ✅ View agent configurations (read-only)
- ❌ Create or modify agents
- ❌ Access admin dashboard
- ❌ Manage users or settings
- End users who only need to interact with agents
- Team members who don’t need configuration access
Custom Roles
Agent Manager (org:agent_manager)
This is a custom role designed for users who need to manage agents but don’t require full admin access.
- ✅ Create new agents
- ✅ Edit existing agents
- ✅ Delete agents
- ✅ Configure agent tools and settings
- ✅ Chat with agents
- ❌ Access organization-wide analytics
- ❌ Manage users or invitations
- ❌ Configure model providers
- ❌ Access admin-only features
- AI engineers who build and maintain agents
- Product managers who configure agent behavior
- Team members responsible for specific agents
Permissions
Permissions provide fine-grained control over specific features. You can assign permissions to any role in your Clerk Dashboard.Agent Management Permissions
| Permission | Key | Description |
|---|---|---|
| Create Agents | org:manage_agents:create | Allows creating new agents |
| Update Agents | org:manage_agents:update | Allows editing and deleting agents |
Setting Up Roles & Permissions
Step 1: Configure in Clerk Dashboard
- Navigate to your Clerk Dashboard
- Go to Organizations → Roles & Permissions
- Create a new role or edit an existing one
Step 2: Create Agent Manager Role
1
Create the Role
- Click Add role
- Name:
Agent Manager - Key:
agent_manager(final key will beorg:agent_manager) - Description:
Can create and update agents but is not an admin
2
Add Permissions
Under Custom permissions, create a new feature called
manage_agents, then add:- Permission:
create(key:org:manage_agents:create) - Permission:
update(key:org:manage_agents:update)
3
Assign to Users
Go to Organizations in the Clerk Dashboard, select your organization, and assign the
Agent Manager role to usersStep 3: Verify Access
Users with the Agent Manager role should now be able to:- Access the Control Hub → Agents page
- Create new agents
- Edit and delete existing agents
- But NOT access admin-only features like user management or organization analytics
Permission Hierarchy
Common Access Patterns
Use Case: Development Team
For a team with developers who build agents and users who only chat:| Role | Users | Access Level |
|---|---|---|
| Admin | Tech Lead | Full platform access |
| Agent Manager | AI Engineers (3) | Agent configuration only |
| Member | End Users (50) | Chat access only |
Use Case: Agency/Consultancy
For agencies building agents for multiple clients:| Role | Users | Access Level |
|---|---|---|
| Admin | Account Manager | Full client setup |
| Agent Manager | Consultants (5) | Build & configure agents |
| Member | Client Team (20) | Use agents, view configs |
Security Best Practices
Principle of Least Privilege
Only grant the minimum permissions needed for each role. Use Agent Manager instead of Admin when full access isn’t required.
Regular Audits
Periodically review user roles and remove access for users who no longer need it.
Separate Environments
Consider using different organizations for development, staging, and production environments.
Monitor Activity
Admins can view organization-wide analytics to monitor agent usage and user activity.
Limitations & Notes
System Permissions vs Custom Permissions:
- Clerk’s system permissions (like
org:sys_profile:manage) power Clerk’s UI components - These are NOT included in API session claims
- Use custom permissions (like
org:manage_agents:create) for API authorization
API Integration
If you’re using the Aster Agents API, permissions are automatically enforced:Troubleshooting
User Can’t Create Agents
Check Role Assignment
Check Role Assignment
Verify the user has either
org:admin or org:agent_manager role in the Clerk Dashboard.Verify Permissions
Verify Permissions
Ensure the role has both
org:manage_agents:create and org:manage_agents:update permissions.Session Refresh
Session Refresh
User may need to sign out and sign back in for new permissions to take effect.
Permission Changes Not Working
- Clear browser cache - Sometimes cached session data prevents updates
- Check Clerk Dashboard - Verify permissions are saved correctly
- Wait 1-2 minutes - Permission propagation can take time
- Sign out/in - Force a fresh session token with new permissions
Next Steps
Build an Agent
Learn how to create and configure your first agent
Knowledge Bases
Set up knowledge bases for your agents
Security Overview
Review our security and compliance documentation
API Reference
Integrate Aster Agents into your applications
For questions about roles and permissions, contact support at patrick@asteragents.com
