Roles & Permissions

Map Discord roles to Stavent roles and keep access least-privilege by default.

Stavent roles

Stavent assigns product roles to users based on Discord roles and (optionally) SSO groups. A typical setup includes:

Stavent roleTypical Discord roleCapabilities
OwnerAdminBilling, security settings, integrations, full access.
AdminLead / Senior ModConfig, automations, exports, team management.
AgentSupportView/assign tickets, respond, resolve, macros.
ModeratorModModeration actions, case notes, audit logs.
ViewerStaffRead-only dashboards and reports.

Discord permission model

Discord permissions come from role hierarchy and per-channel overrides. Stavent recommends:

  • Keep ticket channels private by default.
  • Grant access via a small number of staff roles (agents/moderators).
  • Let Stavent manage per-ticket overrides automatically.
Note
If someone can view the parent category, they may infer ticket existence (even if they can’t read messages). Use a hidden category for strict environments.
  1. Create Discord roles: @Support, @Moderation, @Ops.
  2. In Stavent, map them to Agent, Moderator, and Admin.
  3. Create an @On-call role for escalations.

Common pitfalls

  • The bot role is below an agent role, preventing permission updates on ticket channels.
  • Ticket categories inherit visibility from a broad “Staff” role that includes non-agents.
  • A channel override denies View Channel even though a role should allow it.
Tip
When debugging, temporarily create a dedicated @Stavent Debug role and grant it only the permissions you need. This makes override logic easier to reason about.
Found an issue? Send feedback.