User Roles
The platform supports two user roles:Admin
Full platform access including:
- User management
- Platform settings
- All scheduled messages
- Unlimited AI usage
- Cannot be deleted by other admins
User
Standard user with access to:
- Personal webhooks
- Templates and scheduled messages
- Collaboration features
- Optional AI access (if enabled)
Viewing Users
The admin dashboard displays the 10 most recent users with the following information:- Name: User’s display name
- Email: User’s email address
- Role:
adminoruser - AI Access: Whether the user can use AI features
- Registration Date: When the user joined
Managing AI Permissions
AI permissions control whether users can access the AI content generation features available in the message editor.
Toggling AI Access
Administrators can enable or disable AI access for individual users:API Endpoint
The toggle action uses the following route:Implementation Details
ThetoggleAccess method in AiController.php:67-82:
AI Usage Limits
For users with AI access enabled, you can configure daily usage limits:- Daily Limit: Set in platform settings (default: 5 requests per day)
- Usage Tracking: Stored in the
ai_usagestable - Admin Exemption: Admins have unlimited AI usage
How Limits Work
FromAiController.php:26-38:
Usage limits reset daily at midnight UTC. You can adjust the daily limit in Platform Settings.
Deleting Users
Administrators can delete user accounts with the following restrictions:Deletion Process
Deletion Endpoint
Fromweb.php:163-175:
User Database Structure
Users are stored with the following key attributes fromUser.php:22-28:
User Relationships
Each user has the following relationships:- webhooks: Webhooks owned by the user
- collaboratedWebhooks: Webhooks shared with the user
- templates: Templates created by the user
- sharedTemplates: Templates shared with the user
- scheduledMessages: Scheduled messages created by the user
- sentMessages: Message history
Permission Levels
When users collaborate on resources, they can have different permission levels:Admin
- Full management access
- Can invite others
- Can modify permissions
- Can delete resource
Editor
- Can edit resource
- Can send messages
- Cannot manage collaborators
- Cannot delete resource
Viewer
- Read-only access
- View history
- Cannot edit or send
- Cannot manage collaborators
Resource permission levels are separate from user roles. A standard user can have admin permissions on specific webhooks or templates they own.
Best Practices
Related Documentation
Dashboard
Return to admin dashboard overview
AI Settings
Configure AI providers and limits
Scheduled Messages
View user activity and scheduled messages
