Skip to content

Users, groups and project access

Access in Abada has two layers:

  • Platform groups in the identity provider (Keycloak) say what a person may do at all: deploy, start processes, work on tasks, operate.
  • Project membership says where: each project lists its members, their project roles, and the task groups they hold in that project.

The Studio Admin tab manages both. It talks to the engine (/api/v1/admin/**), which talks to Keycloak, so you do not need the Keycloak console.

Group Lets a person…
abada-task-user See and work on human tasks
abada-process-controller Start processes, correlate messages and signals
abada-deployer Deploy process versions
abada-operator Read and act on instances, variables, history, incidents and retries
abada-project-creator Create projects
abada-insight-reviewer Review Insight proposals
abada-evidence-reader Read agent evidence payloads (prompts, tool arguments and results, as the project’s evidence policy kept them) in projects they belong to. Every read is recorded
abada-admin Everything, including the Admin tab, except reading agent evidence payloads, which needs abada-evidence-reader

abada-worker is for service accounts of external workers (such as the Agent Worker), not for people. Business groups such as managers grant no engine permission by themselves; they matter as task candidates.

  1. Open Admin → Users → New User.

  2. Enter a username, and optionally an email, a name and an initial password.

  3. Add the platform groups the person needs — usually abada-task-user, plus abada-process-controller and abada-deployer for people who build and run processes.

  4. Ask the person to sign in to Studio once. Until then the engine does not know them and they cannot be added to a project.

Open the project in Studio, then Admin → Projects → Add Member, pick the person and set:

  • Roles — Owner, Maintainer, Operator, Reviewer, Viewer. Project creators get every role except Reviewer, so that nobody approves their own Insight proposals.
  • Review lanes — the Insight review lanes the member may approve, such as TECHNICAL or COMPLIANCE.
  • Task groups — candidate groups the member holds in this project only. A task assigned to support-leads can be claimed by members with that task group, even if the identity provider has no such group.

Editing a member: the Viewer role and the task group support-leads

The project members table with roles, review lanes and task groups

Changes apply on the member’s next request; group changes in Keycloak apply when their token refreshes (within about five minutes).

Project owners can do the same through PUT /api/v1/projects/{projectId}/members/{principalId} with roles, reviewLanes and taskGroups.

Each line says when, who (with their roles), what (the action), on what (the target) and whether it succeeded or was denied. New events slide in at the top while you watch. Click a line to open its details: the values before and after the change, the project, the client address and the trace ID.

Administration → Audit: the filters and the events, newest first, with a refused change opened in the details drawer

What is recorded:

  • users and groups (created, changed, added to or removed from a group);
  • projects (created, renamed, archived, restored), members and worker bindings;
  • AI providers and tool credentials: that they changed, never the key or the secret;
  • evidence, file and Insight policies;
  • deployments, rollbacks, and reviews and adoptions of Insight proposals;
  • every refused attempt, including someone outside a project trying to change it.

Filter by person, action, target, project, outcome or dates, then Export CSV to hand the filtered events to an auditor (up to 10 000 rows).

The trail cannot be edited: an event is written in the same transaction as the change it describes, so a change that failed leaves no success line, and PostgreSQL refuses to update or delete an event, even for the database owner. Only administrators can read it; a refused read is itself recorded.

The same events are available to scripts through GET /api/v1/admin/audit and /api/v1/admin/audit/export.

  • No bulk import (CSV or SCIM) in the UI; script POST /api/v1/admin/users.
  • The audit trail has no retention policy and no SIEM export yet; it keeps every event and exports CSV.
  • API: docs/reference/api-v1.md (Platform administration, Projects)
  • Operations: docs/operations/studio-administration.md — Keycloak admin client setup, environment variables, failure modes
  • Security model: docs/reference/security-and-rbac.md