Overview
The Users and Roles page is the main RBAC administration workspace in Genesis. It focuses on user management, role design, and agent access. Use the companion Workspace Policies page for workspace-wide tool controls and default thread visibility.
Main tabs
In Current User Info, permissions use their admin-console descriptions when
available, falling back to the permission key when a description is unavailable.
The separate Workspace Policies page handles
workspace-wide tool permissions and default thread visibility.
Slack accounts tab
People withmanage_users can open Config → Users & Roles → Slack accounts
to review the members of workspaces connected to Slack-enabled agents. The panel
shows saved links and suggestions based on Slack-confirmed email or matching
name. Email matches can be approved individually or in bulk; name matches
require individual confirmation. Use Upload CSV to preview a two-column
Slack-to-Genesis mapping before linking its valid rows, or Unlink to remove
a saved link. Workspace members remain visible when account linking is turned
off, but approvals are unavailable; existing links can still be removed.
The page reads the Slack directory when opened and again when Refresh is
selected. When a workspace does not share email addresses with its Slack app,
the panel reports that workspace and offers name matches only. The setting and
the administrator API are documented in Slack settings
and the API reference.
The access-denied screen for Config → Users lists the administrators a user
can contact for elevated access. It lists people only: the built-in System User
and service identities are left out. Genesis has no self-service admin-key
claim option. When no administrator can sign in, see
RBAC Practical Guide — Establishing or recovering an administrator.
Users tab row actions
On the Users tab, each row ends with an actions menu (⋮). Open it to use per-user administration actions. If no actions apply to a row, the cell shows —. People withview_users but not manage_users see a read-only directory instead
of the administration controls. They can search by username or email and see each
person’s display name, email, and roles; they cannot assign roles, preview access,
view memory, or delete users. See the RBAC Practical Guide
for the permission boundary.
People with
manage_users can choose Invite with roles in the Users header
to stage a role set for an email, then manage unused entries under Pending
invitations. Expired entries remain listed but are not applied; an email that
already belongs to a Genesis account must be changed from its Users row. See the
API reference for the
first-sign-in assignment behavior and REST contract.
For a Snowflake sign-in, Genesis updates a user’s stored email when Snowflake
reports a changed address and no other Genesis account holds it. If another
account already has the address, or the user directory cannot be read, Genesis
keeps the stored email; a previously refused address is checked again on a later
sign-in. This change does not alter the user’s roles.
Typical admin workflows
- assign a role to a user,
- create a custom role,
- grant agent access to a role,
- set default roles for new users,
- resolve unmet access requests,
- preview the app as another role set before changing assignments.
manage_agents,
Genesis refuses the change — for example deactivating that agent, revoking its
carrying role, removing manage_agents from the role, or deleting the role.
Grant manage_agents to another active agent first, then repeat the change.
See RBAC Practical Guide → Agents.
Access Preview (admins)
Access Preview lets an admin browse Genesis with the permissions of one or more non-admin roles without assigning those roles to their account or mutating Casbin state. Your signed-in identity remains the audit actor for actions you take while preview is active. Open Config → Users & Roles → Access Preview, or from the Users tab open a row’s actions menu (⋮) and choose Preview Access to load that user’s roles into the preview selection (admin is always excluded). The preview tab
provides:
- Search roles or users — filter roles by name or description, or find users by display name, email, or user ID.
- Roles — toggle individual roles into the preview selection.
- Matching users — pick a user to copy that user’s assigned roles into the
selection (up to eight matches when searching; users with only the built-in
adminrole are omitted). - Start Preview, Clear Selection, and Exit Preview — start applies preview roles to subsequent UI and API requests; exit restores your normal admin view.
admin role; it is excluded from selection and from user-based
preview loads.
SCIM-managed users
If your deployment provisions users through inbound SCIM, the Users tab labels those rows asManaged by SCIM. When a provisioned record is inactive,
Genesis shows Managed by SCIM (inactive).
For SCIM-managed users, the Users tab does not offer manual role add or
revoke controls. Update the user’s IdP group membership and the SCIM
group-to-role mapping instead of editing the Genesis role badges directly.
For other users, role badges supplied by an identity-provider group mapping
show the source group on hover and have no manual remove control. A mapped role
that the user’s recorded groups do not grant is not offered in the manual-add
list. The role editor marks permissions supplied by the deployment’s seed file
as Seeded. See RBAC Practical Guide
for how these role sources affect edits and restarts.
Role editor workflow
From the Roles tab, select + Create Role or open an existing role to use the tabbed role editor. The editor includes Basic Info, Permissions, Agent Access, Apps, Secret Access, and Tool Access. The role list contains roles only. Direct policy grants to a user’s ID or email, the global code-execution switch, and internal owner or creator subjects are not listed as roles; their existing policies still apply. Genesis also refuses new roles with those reserved subject names. On the Permissions tab, each permission shows a plain-language description under its name. When Genesis has longer scope notes — what is included or excluded, or which sibling permission covers the rest — a ? icon appears next to the description; hover or keyboard-focus it to read the tooltip. The same text is available fromGET /api/rbac/permissions as description
(short line) and extended_description (tooltip, when present). Permissions
without a server-side description fall back to readable text derived from the
permission name instead of showing “No description”.
The catalog includes manage_own_* permissions for managing items the person
created or has edit access to, alongside all-item permissions such as
manage_flows and manage_scheduler. Assign the narrower grant when a role
should not manage other users’ items; the RBAC Practical Guide
lists the scopes and built-in role defaults.
Use Agent Access to set per-agent Chat and Manage grants as part of
the same create or edit flow. Chat lets the role chat with that agent;
Manage also grants Chat and lets the role manage that agent. The list includes
assignable agents for the workspace and omits internal system agents. A role with
manage_agents already manages every agent, so per-agent Manage choices are locked;
that permission alone does not grant Chat. The admin role has access to every agent.
When saving new Chat or Manage grants, Genesis validates newly added agent IDs against
stored agents. See the
RBAC Practical Guide → Agents
for the exact identifier rule. Saving Chat access applies directly without an
additional confirmation for changes affecting many apps; see the
RBAC Practical Guide → Agents
for how app grants relate to agent access.
When editing an existing role, a read-only Agents summary below Agent
Access shows the agents the role manages and uses, including the role path
where applicable; it identifies roles that manage every agent. For adding or
removing agent managers and users, see
Agents Center and Skills.
Connection profiles are ordinary custom roles that grant one or more saved
connections (via each connection’s Roles with Access bindings). They are
reusable across agents: assign a profile role to an agent from Agents →
[agent] → Data Access, or manage the role’s connection grants here in the
Roles tab. Built-in roles such as user, power_user, and admin cannot be used as
profile roles. An agent may hold multiple profile roles; its connection access
is the union. Removing every profile leaves the agent inheriting each
connection type’s default. See Agents Center and Skills — Data Access.
Use Apps to review and assign dashboard and Genesis App access as part of
the same role flow. When tagged microapps are present, the editor shows those
tags on each app row and adds Bulk apply by app tag, which lets you choose
one tag plus one access level (view, refresh, edit, or manage) and
apply that grant to every matching tagged app before you save the role.
The Permissions tab lists manage_repos (Manage unified Git-backed
sources for skills, flows, apps, blueprints, agent definitions, role
definitions, and document indexes (Knowledge Base feeds)). Grant it to
operators who should use
Config → Managed Sources or Document Indexes → Sync from Git to register
one remote repository with multiple scan_types_enabled values (for example
skills and document feeds from the same repo_id) instead of creating separate
per-library sources. The page requires access_config_panel as well. Holders
of manage_repos can also call the legacy /api/skills/repositories,
/api/flows/repositories, /api/apps/repositories, and /api/blueprints/repositories
routes; deleting a multi-type source must use
DELETE /api/managed-sources/{source_id}. Removing an enabled scan type from an
existing source is not supported — delete the source and recreate it with the
desired scan_types_enabled. A source that includes roles also requires
manage_users to create or update it, or to apply its role preview. Role
definitions live under roles/<role_name>/role.yaml (or role.yml): Git can
define a role’s permissions and resource access, but cannot assign users to
roles or define built-in roles.
On first boot after upgrade, Genesis grants
manage_repos to the built-in admin role and to custom roles that already
have all of manage_skills, manage_flows, manage_apps, and manage_git
(one-time backfill).
The paired manage_own_repos permission lets a role manage only the Git-backed
sources its users added. Use it instead of manage_repos when operators should
not change every managed source; see the RBAC scope guide
for the related own-item permissions and their built-in defaults.
Managed-agent source registration and individual agent changes use different
permission scopes; see the managed-agent authorization rules.
Sync discovers agent.yaml / agent.yml files under agents_root; the first
sync previews create/update/disable actions, and a follow-up sync with
apply_agent_changes applies only changes the caller may make.
The Permissions tab also includes a dedicated PAT connections group
with five category-scoped permissions:
access_pat_connections_databases(Databases)access_pat_connections_git(Git & Code)access_pat_connections_cloud(Cloud & Storage)access_pat_connections_pipelines(Data Pipelines)access_pat_connections_tools(Dev Tools)
pat, api_token, or api_key for
connectors in each category. When you create a new role, Genesis seeds those
defaults from rbac.default_pat_capability_for_new_roles.databases,
.git, .cloud, .pipelines, and .tools in
Advanced Settings.
The Roles tab also includes Default Roles for New Users. Use it to
choose which roles are automatically assigned when new users sign up or log in
for the first time. The list includes the built-in admin role: when its box
is checked, every new user becomes an administrator. Uncheck it and select
Save Changes to keep new users off admin. Saving keeps every role you
did not uncheck, including admin.
Hover over a role choice to read its description, including the built-in
power_user role’s build-and-run access boundaries. See the RBAC Practical
Guide for its scope.
When the admin UI has not saved a default-role list yet, Genesis falls back to
rbac.default_roles in genesis-config.yaml (see
Advanced Settings → RBAC defaults),
then to the built-in ["admin", "user"]. So on an unconfigured deployment
every new user is an administrator, and the admin box starts checked; while it
is checked, the page warns that every new user becomes an administrator. To keep
new users off admin, uncheck it and save, or set rbac.default_roles
explicitly (for example ["user"], or [] to assign no roles).
Choosing what new users get
While no list has been saved on this page and new users getadmin, every
administrator who opens Genesis is asked What should new users get? An
administrator who is the only person holding admin is told they are one
because they signed in first; the others, because new users get admin by
default. Nobody is asked with sign-in turned off or on Genesis Desktop.
- New users get the user role saves
["user"]. Existing administrators keepadmin. - Everyone gets admin saves
["admin", "user"]. - Ask me later saves nothing. The question comes back the next time that administrator opens Genesis, and other administrators keep seeing it.
rbac.default_roles leaves admin out.
The first administrator
An install needs one administrator. When the default roles leaveadmin out
(rbac.default_roles or a Databricks App’s manifest set them, for example), the
first person to sign in while no person holds admin becomes it. With the
built-in default the first person is an administrator anyway. The grant is recorded in the admin audit log
with source first_admin, and a notification shown only to administrators
names them. Everyone who signs in after them gets the default roles.
Two people signing in at the very same moment on different replicas can both
become administrators. The rule is the same on every kind of deployment; in a
Databricks App only a person the workspace verified can take the seat, and only
one of the App’s managers when the App can read them (source
databricks_app_first_admin, see
first administrator for Databricks Apps).
Nobody is made the first administrator this way when the install names its
administrators another way:
- a group-to-role mapping that grants
admin: the members of that group become administrators when they sign in. A Databricks App still seats its first administrator, because it has no shell to name one with if no member of that group ever signs in; - a hosted install’s initial administrator;
- a Try Me instance, where Genesis staff are the administrators.
admin cannot lose it by having the role
revoked or by being deleted; agents and the system user also hold admin and do
not count. The identity provider is the exception: when a group-to-role mapping
names the administrators, someone who leaves the mapped admin group loses admin
even when they are the last one, and the group’s next member to sign in becomes
an administrator.
Each role a new user receives from the defaults, at creation or from the startup
backfill, is recorded in the admin audit log with where the list came from: new_user_default:saved_list (this page),
new_user_default:config (rbac.default_roles) or
new_user_default:built_in (nothing configured, or the configuration could not be read; admin and user).
A person who cannot manage users sees, on this page, who the administrators
are, by name and email, so they know whom to ask for access. If no one is an
administrator yet, the page says to ask whoever runs the install to name one.
A saved list that cannot be read is not treated as “not saved”. If reading it
fails when a user is created, Genesis assigns that user no roles instead of
falling back to the defaults above, so a deployment’s saved choice is never
replaced by another one during a database outage. The role-less user gets the
default roles from the startup backfill after the next restart, or from an
administrator. If an administrator deliberately removes someone’s last role,
Genesis records that removal so startup does not restore default roles; an
administrator must assign any role they should receive later.
Genesis keeps the configuration aligned with the current role list. If an older
saved default-role list still references a role that no longer exists, Genesis
ignores that stale entry. If you want to delete a role that is currently
configured as a default for new users, first remove it from
Roles → Default Roles for New Users.
Workspace policies
Use the separate Workspace Policies page for system-wide defaults and overrides that sit above or alongside normal role-based access:
When either Tool Permissions control is blocked, the affected tools stay
unavailable even if a role would otherwise allow them.
Combining user and agent role decisions
A tool call in a chat is checked against the user’s role and against the agent’s role. By default Genesis allows the call when either role grants the tool, so a user whose role does not include a tool can still reach it through an agent whose role does. Two settings in thesecurity configuration section change that:
The two are independent: one governs tools, the other connections, and neither
overrides the other. Set them as environment variables (
SECURITY_TOOL_AUTH_MODE,
SECURITY_FORCE_DOUBLE_KEY_ON_CONNECTIONS) or in Config → Advanced Settings. A run with
no user context is authorized against the agent’s role alone in either mode. See
Security Controls → Layer 2
for the full model.
require_double_key on an individual connection governs access to that
connection — both principals must pass secret-level access checks, both to
resolve its credentials and for it to be visible at all. It does not affect tool
authorization. A request carrying only an agent and no
user is treated differently by the connection boundaries — see What double key
means when only one principal is
present.
Admin audit log
Every successful mutation on this page (user and role lifecycle, role assignment matrices, bot-role mappings, and default roles for new users) writes a row to theADMIN_AUDIT_LOG metadata table. Rows include the acting admin’s
user ID and email, the target resource, a JSON details payload, and
source=api. Advanced-config edits from other setup pages use the same table
with target_type=advanced_config; see Advanced Settings.
SQLite metadata audit rows follow the isolated-write behavior described in
SQLite audit writes.
Browse recorded events without direct metadata-table access from Config →
Admin Audit Log (filters, row detail, and CSV export). Its Target type and
Source filters offer every target type and source recorded in the audit log;
the Target type filter includes Dashboard for dashboard access events. See
Admin audit log events.
Events can also be retrieved through
GET /api/admin/audit-log. For action names, column definitions, example SQL,
and how chat-based rbac_action writes differ (source=bot), see
RBAC Practical Guide → Admin audit log.

