Users & Access
Synth separates four ideas that are easy to confuse:
- A User is an account that can sign in with a password, SSO, or both.
- An instance role controls administration of the Synth installation.
- Project access controls what the User can do in a Project.
- A Group is an optional real team whose Project access is inherited by its members.
A Viewer is a Project role, not a Group. Creating a Viewer does not add that
person to a hidden Viewers Group. The Users and Groups pages always show the
same real membership data and exact member counts.
Installation and upgrades
RBAC v2 is the default. First setup creates one active local Owner, without synthetic role Groups. Fresh Docker and Helm installations need no RBAC flags; shadow diagnostics are off by default. SSO is optional and is not enabled by this default.
Already migrated installations can remove SYNTH_RBAC_ENFORCEMENT=v2 after all
processes have upgraded to a v2-default image. Do not remove it on 0.27.1 or an
older legacy-default image. The optional SYNTH_RBAC_V2_SHADOW_ENABLED override
can be removed after migration observation.
Unmigrated legacy installations must explicitly set
SYNTH_RBAC_ENFORCEMENT=legacy before upgrading, run the clean migration
preflight/apply, and verify access parity and rollback readiness. Then remove
the legacy override and restart web and worker together. Missing or corrupt v2
state denies protected access; it never silently falls back to legacy. See the
operator migration runbook.
Roles
Instance roles
| Role | What it means |
|---|---|
| Owner | Full administration plus ownership and recovery operations. At least one active local Owner must remain. |
| Admin | Manages Users, Groups, SSO, settings, credentials, licenses, and Projects. Cannot remove the final recovery Owner. |
| Member | Has no Project access until it is assigned directly, through a Group, or by SSO. |
Project roles
| Role | What it means |
|---|---|
| Project Admin | Manages the selected Project and its members, but cannot administer the Synth instance. |
| Editor | Reads, ingests, and edits knowledge in the selected Project. |
| Viewer | Reads, searches, and explores knowledge in the selected Project. |
When several sources grant access, the highest Project role wins. A lower direct role never reduces a higher Group or all-Projects role.
Add a local User
Open Users → Add user and complete the independent sections:
- Account: username, name, email, and password or expiring invite link.
- Instance role: normally Member; use Admin only for instance operators.
- Direct Project access: choose a role for one Project or for All Projects.
- Optional Groups: check only real teams this person belongs to.
A Group's member count includes only people explicitly added to that Group. A User can have Viewer, Editor, or administrative access through a direct assignment while the similarly named Group correctly shows 0 members.
All Projects applies to current and future Projects. Use selected Projects when possible.
Invited Users are Pending and cannot use prepared access until the invitation is accepted. Invitations can be resent or revoked. Disabling a User immediately blocks sessions and owned API/MCP keys without deleting the account.
Manage a Project's members
Open Users → Project members and select a Project. Every account is shown with its effective Project role, the winning source, and a selector for the User's direct project-specific role.
Changing that selector changes only the direct assignment for that User and Project. It does not remove access inherited from a Group, All Projects, instance administration, or SSO. SSO-owned controls are visible and read-only.
Default role for new members
In the same dialog, use Default role for new members → Initial Project role and Save default to choose No access, Viewer, Editor, or Project admin. Alternatively, open Global Settings → SSO → New members and click Edit beside the Project. Saving a default does not require saving the SSO form.
Defaults apply once, when an eligible person creates a new SSO account with automatic creation and manual role management enabled. Each Project is independent, and an unset default always means No access. The account can still sign in when it has no Project access.
Changing a default does not change existing members. Linking an existing password account or accepting an invitation keeps that account's assigned access. Administrators can edit or remove a new member's role afterward; the default is not reapplied on later sign-ins.
For deployment-managed defaults, set access.defaultNewMemberRole on the Helm
Project or access.default_new_member_role in raw CaSC. Managed by CaSC
defaults are read-only in the UI. See the
SSO Project-default examples.
Use Groups for teams
Open Groups to create a reusable team such as
Documentation or Platform. A Group contains real members and Project
grants. Checkboxes explicitly say Member or Not a member; SSO-managed
members are checked and locked.
Do not create Groups named Admins, Editors, Viewers, User Access:*, or
SSO Access:*. Those names are reserved for migration compatibility; roles are
not Groups in the current model.
Deleting a Group removes that Group's grants but does not delete Users. A Group referenced by the active SSO policy or containing SSO-managed memberships must first be removed from that policy.
Understand access
Use Access review to answer “who can access what?” The API also provides:
| Purpose | Endpoint |
|---|---|
| Users and source ownership | GET /api/auth/v2/users |
| Groups and exact members | GET /api/auth/v2/groups |
| Project members | GET /api/auth/v2/projects/{project_id}/members |
| One decision and its sources | GET /api/auth/v2/users/{user_id}/projects/{project_id}/effective-access |
| Review and matrix | GET /api/auth/v2/access/review, GET /api/auth/v2/access/matrix |
| Safe export | GET /api/auth/v2/access/export?format=json or format=csv |
Exports contain authorization facts, not passwords, tokens, key hashes, or raw SSO claims.
SSO-managed access
The simple SSO setup leaves roles manual and uses the initial defaults above. SSO authentication and authorization are separate. In Expert configuration, an administrator chooses whether the identity provider manages nothing, only the instance role, or the instance role plus Project/Group access. Values owned by SSO are labeled Managed by SSO and cannot be changed manually. They are reconciled on the User's next successful SSO login, including removal of stale SSO grants.
Synth never allows SSO to grant Owner. Keep and test a local recovery Owner. See SSO / OIDC for configuration and migration details.
API and MCP keys
Keys belong to the User's immutable ID and resolve the owner's current access on every request. Renaming a User does not orphan a key. Disabling or deleting the owner blocks the key. Scopes and Project allowlists can only narrow the owner's access; they can never elevate it.
API Scopes
| Scope | Use |
|---|---|
knowledge:read | search and read pages |
ingest:write | add sources and manage watchers |
knowledge:write | edit pages |
admin:read / admin:write | manage settings |
Good practice
- Give AI agents project-scoped keys.
- Use
full_accessonly for local admin scripts. - Separate human login from automation keys.
- Revoke old keys when rotating clients.
Troubleshooting
- The Groups page is empty: this is valid. Users can have direct Project roles without belonging to any Group.
- A role remains after removing direct access: inspect its source; a Group, All Projects, instance role, or SSO may still grant it.
- A control is locked: the active SSO provisioning mode owns that field. A new-member default labeled Managed by CaSC is instead controlled by the Project's deployment declaration.
- A User has no access after SSO login: authentication succeeded, but no initial default, manual assignment, Group, or applicable mapping granted a Project role. Assign access to the existing User; changing the default alone does not affect them.
- Owner cannot be disabled or deleted: create and test another local Owner first.