You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: Expand user role model (admin / creator / operator / user) #143
The current system has only two effective roles — admin (password login) and user (all whitelisted email/Auth0 accounts). This is too coarse as the platform opens to more people.
Proposed 4-Tier Role Model
Role
Entry Path
Intent
admin
Password login
Full platform control — infra, users, agents, system settings
creator
Whitelisted email
Can create and manage their own agents, access templates
operator
Whitelisted email
Can use/run existing agents, trigger tasks — no agent creation
user
Public links / open signup
Can interact with agents via shared public links only
Acceptance Criteria
Backend
Extend role column in users table to accept admin | creator | operator | user
New email-authenticated users default to creator (current behaviour was user) — configurable
Public-link-authenticated sessions are treated as user role
Status update (2026-04-04): Partially implemented. Commit c9af39f added the 4-tier role model concept, but the backend still only checks role == "admin" — no require_role() helper, no creator/operator enforcement on endpoints, and no frontend role management UI. Remaining work:
require_role(min_role) dependency helper
Agent creation endpoints gated to creator+
User management table in Settings with role dropdown
Activity
feat: expand user role model to 4 tiers (admin/creator/operator/user)
feat: expand user role model to 4 tiers (admin/creator/operator/user)
feat: expand user role model to 4 tiers (admin/creator/operator/user)
feat: expand user role model to 4 tiers (admin/creator/operator/user)
feat: expand user role model to 4 tiers (admin/creator/operator/user)
feat: expand user role model to 4 tiers (admin/creator/operator/user)
vybe commentedon Apr 4, 2026
Status update (2026-04-04): Partially implemented. Commit c9af39f added the 4-tier role model concept, but the backend still only checks
role == "admin"— norequire_role()helper, no creator/operator enforcement on endpoints, and no frontend role management UI. Remaining work:require_role(min_role)dependency helperfeat: expand user role model to 4 tiers (admin/creator/operator/user) (…