Roles
What someone can do in CrewSpec depends on their roles. Each role is a set of permissions, and a person can have several roles; they get every permission from all of them.
Built-in roles
Every team has three built-in roles. They can't be edited or deleted, and CrewSpec adds new permissions to them when a release needs it.
| Role | For | In short |
|---|---|---|
| Administrator | People who run the team in CrewSpec | Everything, for everyone: all events, users, settings and billing |
| Lead | Group leaders and coordinators | Manages events, timesheets and people in their groups, and most day-to-day work |
| User | Team members | Their own events, timesheets, reports and training, and team-wide reading |
The permissions reference shows exactly which permissions each built-in role has. If none of them fits, make a custom role.
Roles are managed, and given to people, in Administration → Roles. New members get the team's default role (Team settings).
How permissions are written
A permission has up to three parts: resource/action/scope, for example event/edit/group.
- Resource: what it's about, such as
event,time_entryornews. - Action: what it allows, such as
view,create,edit,delete,revieworassign. - Scope: which ones it covers.
| Scope | Covers |
|---|---|
all | Every one in the team |
group | Those belonging to your groups (details) |
authored | Those you created |
self | Those about you, such as your own timesheets |
member | Your own team, for team-level settings |
| No scope | The action itself, such as event/create |
A few permissions use other scopes, such as assigned (events you're assigned to) or org (your organization's events); the reference describes each one.
A wider scope includes the narrower ones: with event/edit/all you don't also need event/edit/authored. That's why the Administrator role doesn't list the group and authored versions.
Group permissions
What belongs to a group depends on the item:
- Events, news and other tagged items belong to the groups linked to their tags.
- People and their timesheets belong to the groups they're members of.
With a group permission:
- Viewing needs you to be a member of one of the item's groups.
- Changing anything (editing, deleting, approving and so on) needs you to lead one of its groups. You lead a group when you hold a rank in it; see Ranks.
- Items with no groups at all are covered by
grouppermissions for everyone who has them.
When permissions change
Permission changes apply the next time CrewSpec loads the person's details, usually within a minute, or straight away when they reload.