Setting up role restrictions
To configure role restrictions, head to Settings → Types and select the incident type you want to configure. Scroll to the Roles section.

Building restrictions
Restrictions are built using the expression builder. Select a user attribute to restrict on, choose an operator, and pick the values to match against.
- Conditions within the same group use AND logic - all conditions must be met
- Separate groups use OR logic - any group can match


Where restrictions apply
Once configured, role restrictions are enforced wherever incident roles are assigned:- Slack - when assigning roles via
/inc roleor the channel announcement buttons - Microsoft Teams - when assigning roles via channel announcement buttons
- Dashboard - when picking roles during incident declaration or while managing an active incident
- Workflows - any steps that assign roles to ineligible users will cause the workflow to fail
Workflows
When you have active workflows that assign roles, you’ll see a warning banner in the Roles section of your incident type settings reminding you of this. Review your workflows after adding role restrictions to make sure the users being assigned still meet the new requirements.FAQs
Can I set role restrictions globally across all incident types?
Can I set role restrictions globally across all incident types?
No - role restrictions are configured per incident type. You’ll need to set up restrictions individually for each type where you want them.
What happens if no one meets a role's restrictions?
What happens if no one meets a role's restrictions?
The role dropdown will show all users as disabled. Consider broadening your restrictions if this happens.