How are roles enforced and how fast is access revoked?

Available today

Four roles (viewer, planner, analyst, admin) are checked on every API route, not just hidden in the interface. With your own identity provider, roles come from the token's roles claim: an account is created the first time a user with a role signs in, and removing the role in your directory revokes access on the user's next request. A deactivated account in Admin always wins. Your identity provider can also deactivate members directly through the provisioning service, which closes their sessions and revokes the API keys they made. An admin can see in Admin, Roles exactly what each role and each person can do. Two settings to make: a token already issued stays valid until it expires, so access token lifetimes should be an hour or less; and accounts are matched by email, so the email claim should come from an attribute users cannot edit.

Related questions