Documentation · Administration · Settings

Admins

Settings → Admins: who can open the admin pages and define specs. Admins come from identity provider groups, from people named here, and from the configuration.

Three ways to be an admin

WaySet whereWhen it applies
A member of an admin groupAdmin groups here, plus CREDVANE_ADMIN_GROUPS (default credvane-admins)At each sign-in, from the token's groups, roles and realm_access.roles
Named hereAdd an admin by email, or Make admin on UsersAt once, or when they first sign in
A bootstrap adminCREDVANE_ADMINS in the environmentOn every request; never stored

Groups from configuration show with a From configuration badge and cannot be removed here. Removing someone named here does not remove an admin who is also in an admin group.

Examples

  • Keycloak: turn on Full group path in the groups mapper, and add credvane-admins. The top-level /credvane-admins matches it; a nested group such as /contractors/credvane-admins counts only as its full path, so whoever can create a subgroup cannot make admins.
  • Other providers: add the group exactly as it appears in the sign-in token's groups or roles claim. Decode a token from a test sign-in to check.
  • First start: set [email protected], sign in, set up groups here, then remove the variable.

Group changes at the identity provider, including leaving an admin group, apply at the next sign-in. See who is an admin.

Terraform

Not in the Terraform provider: admins follow your identity provider's groups.