Checkin does not decide what a person may do inside an application: it tells the application which roles the person has there, and the application maps them onto its own.
- On Checkin — Administration → Applications → the application → Roles: the default roles (for everyone without roles of their own there) and the roles of each person, comma separated (
admin, orpm, billing). - In the tokens — an application that asks for the
rolesscope finds them in therolesclaim of the ID token and of UserInfo:"roles": ["admin"].
- In the application — a product of the family: Single sign-on → Checkin → Role claim
roles, one rule per value, a default role for everyone else, and Keep roles in sync to apply them at every sign-in (the last administrator is never demoted). Or in its.env:SSO_OIDC_ROLE_CLAIM=roles,SSO_OIDC_ROLE_MAP="admin=admin,member=member",SSO_OIDC_SYNC_ROLES=true. Any other client maps a claim onto its roles its own way (Grafana:role_attribute_path = contains(roles[*], 'admin') && 'Admin' || 'Viewer').
| Product | Its roles | Role map |
|---|---|---|
| Studio | admin, pm, dev, client | admin=admin,pm=pm,dev=dev,client=client |
| Boogle | admin, member | admin=admin,member=member |
| IndieStats | admin, base (only the sites assigned) | admin=admin,base=base |
| Newsletter | administrator, manager, editor | admin=administrator,manager=manager,editor=editor |
| Hackly, Johnny | none: whoever signs in administers | — (use Assigned people only on Checkin) |
