User Guide · Administer · Roles & access

Roles & access

Beyond the built-in roles, Jarwis lets you build custom roles from a catalog of permissions, give people time-limited extra access, provision users from your identity provider, require a second person for risky actions on production clusters, and control when Jarwis support may sign in. This page covers those controls; basic user management is in Settings → Users & roles.

Plans Custom roles, scoped role bindings, temporary elevation and SCIM provisioning are Pro features.

Permissions and built-in roles

Every action in Jarwis needs one permission from a fixed catalog. The built-in roles are sets of these permissions, and each includes the one below it: Viewer ⊂ Operator ⊂ Admin ⊂ Owner. A user can also have No access as their organisation-wide role and see only the clusters granted to them through bindings.

GroupPermissions
Clustercluster.read, .operate, .failover, .parameters, .config, .topology, .upgrade, .create, .delete, node.manage
Backupbackup.run, .schedule, .restore, .configure, .delete, .download
Datasql.read, sql.write, session.kill, schema.manage, dbuser.manage, credential.manage, credential.reveal
Monitoringalarm.ack, alarm.remediate, alert.manage, logs.read, obs.manage, report.run, report.manage, ai.use
Platformkube.manage, approval.decide, apikey.manage
Organisationusers.manage, identity.manage, audit.read, compliance.export, settings.read, org.security, org.license, freeze.manage, org.owner

Four permissions are marked sensitive in the role editor because they expose or overwrite data: sql.write, credential.reveal, backup.restore and backup.download. compliance.export is sensitive as well.

Custom roles

A custom role is a name plus a set of cluster permissions, for example a Backup operator who can run and schedule backups but not delete them. Open Settings → Users & roles → Roles, which has three views: Built-in roles, Custom roles and Access report.

  1. Create the role

    Click New role, enter a Name, an optional Key (derived from the name if empty) and Description, and tick the Permissions. cluster.read is always included. Permissions that are organisation-wide cannot be added (the editor lists them as Not available in custom roles), and you cannot create a role that needs more than your own role allows. Up to 50 custom roles per organisation.
  2. Grant it

    A custom role is granted through a role binding on an environment or a single cluster (backup-operator@cluster:12), from the user's role bindings or from a group mapping in LDAP, OIDC, SAML or SCIM.
  3. Check what it does

    The role list shows Acts as (the smallest built-in role that contains the whole set) and the number of Bindings.

On that cluster the user can do only what the role's permissions allow: if the action's permission is not in the set, the request is refused. Edits to a role apply to bound users from their next request. Delete role also removes every binding that grants it; users keep their organisation-wide role. Custom roles are a Pro feature; if an organisation falls back to Lite, existing roles can still be deleted.

Access report

The Access report shows who can do what on each cluster, resolved exactly as the API enforces it: the organisation-wide role, environment and cluster bindings and custom roles. Filter it by user, cluster, environment or role, and Export CSV.

Temporary elevation (Pro)

Instead of keeping a high role permanently, a member can ask for a higher role on one environment or cluster for a limited time. Open Settings → Access.

  1. Request

    Under Request temporary access choose the Role (operator or admin, above your current role), the Scope (an environment or a cluster), the Duration (15 minutes to 8 hours) and give a Reason such as a ticket or incident.
  2. Another admin decides

    Admins see the Elevation requests queue and can Approve, Deny or Revoke. You cannot approve your own request. A request nobody decides within 24 hours expires.
  3. It ends by itself

    The access starts at approval and drops when the time is up. You can Cancel early at any time.

Elevations never cover user, identity or security administration, apply only to interactive console sessions (not API keys), and every decision is audited.

Access review

Admins see Access review under Settings → Access: every member with their role, bindings, last sign-in and risk flags — disabled, never signed in, inactive admin (no sign-in for 90 days), admin without 2FA, support identity and elevated. Download it as CSV and click Mark review complete, optionally with notes. The next review is due after 90 days and the page warns when it is overdue.

SCIM provisioning (Pro)

Let your identity provider (Okta, Entra ID, Keycloak and others) create, update and remove users and groups over SCIM 2.0. Set it up in Settings → Security → SCIM provisioning.

  • Copy the SCIM base URL (/scim/v2 on your controller) into the provider, then click New token. The token is shown once; Jarwis keeps only a hash. Up to 10 active tokens; Revoke stops a token at once.
  • Fill the Group → role map, one group = role per line. A role can be viewer, operator or admin, a scoped role such as operator@env:production, or a custom role key. Owner cannot be mapped.
  • Role for users in no mapped group is none (no access) or viewer. A user's role is the combination of the roles of their groups.
  • Tick Enable SCIM provisioning. The panel shows how many users and groups were provisioned.

SCIM only manages the users it created; they sign in through SSO and have no Jarwis password. Existing local, LDAP or OIDC users are left alone, and SCIM can never delete, disable or demote the owner. Removing a user in the provider disables the account and removes the bindings; provisioning them again restores it. All SCIM changes are audited.

Four-eyes approval for production

On a cluster marked Four-eyes approval (in Settings → Security, listing your clusters), three risky actions need a second person: restoring a backup, writing SQL and revealing a credential.

  1. Ask

    When you start the action, Jarwis does not run it and shows Approval #… needed.
  2. A second admin approves

    Another admin approves the request on the Approvals screen. The person who asked cannot approve it.
  3. Run it

    Click Run now. The approval works once, for exactly that request, within one hour.

Admins can switch four-eyes on for a cluster, but only the owner can switch it off. It needs a personal sign-in, so a shared key is refused.

Jarwis support access

Jarwis support staff can sign in to your console only while you allow it. Open Settings → Security → Jarwis support access (admins).

  • Choose a Duration (1 hour up to 7 days), the Role support gets (viewer, operator or admin; only the owner can grant admin) and an optional note, then Allow support access. Extend or Revoke at any time; revoking ends every active support session.
  • A support session has the granted role, never more, and ends when the access expires or is revoked. Support sessions are time-limited and cannot change the support-access setting itself.
  • Each support sign-in raises a security alarm and is audited with a support tag. Support identities show in their own list on this panel, not among your users, and the Support sessions table records who signed in, with what role and why.

See also Users & roles, SAML single sign-on, Approvals and Security.