Skip to content

Identity and access

Manage the people, tenants, groups, agents and credentials of a Hivemind 1.7.0 instance from the Portal, and remove a person cleanly when they leave.

Before you start

You need a Hivemind 1.7.0 instance with its identity store installed (see Install in production) and a signed-in Portal session at https://hivemind.example.org/.

Know which role each task asks for. Hivemind keeps four kinds of authority apart, and none of them implies another:

Role Where it comes from What it opens in the Portal
Deployment operator An explicit operator grant on the account Operator tools: Identity & Groups, Tenants, Memory Operations, Configuration, Audit
Tenant member or manager Membership of a tenant The spaces, groups and agents of that tenant
Space access: Read, Read + write or Manage A grant on the space, on its project, or through a group The space's tabs and actions
Agent owner An agent linked to your account Account → Agents for that agent
  • The operator role gives no grant on space content. An operator reads or changes a space's notes, files, rules or settings only through a grant on it, like anyone else (the space they create is the exception: its creator receives Manage), or by signing in as a user through Add local sign-in or Reset local access (see Manage local sign-in for an existing user). The full comparison of access levels is in Space access levels.
  • Manage on a space never grants deployment administration, identity provider configuration or standalone-agent creation.
  • An agent never exceeds its owner's current rights: its effective access is the intersection of its own grants and its owner's.

Protected changes (operator grants, memberships, access grants and reductions) ask you to confirm your identity again in the same session. The Portal shows Confirm it is you: enter your password and authenticator code for a local account, or continue with your identity provider. The confirmation lasts 15 minutes by default and ends at sign-out or server restart. Without it, the change is refused with step_up_required.

After someone is promoted to operator, their existing sessions keep ordinary access and show a reminder: the role takes effect only after they sign out and sign in again.

Steps

Create a local account

Requires: deployment operator.

A local account signs in with an email, a password and an authenticator code. Accounts that sign in through an identity provider are created at their first sign-in; their providers are configured in the server's connections file, not in the Portal (see OpenID Connect sign-in).

  1. Open Identity & Groups → Users.
  2. Select Create local user and enter the person's email.
  3. Copy the one-use setup access from Hand over this setup access and send it to the person privately. It is shown once and expires after 24 hours. Whoever holds it can set a password and sign in as this user.
  4. The person opens the Portal, pastes the setup access, chooses a password, scans the authenticator code and saves the eight recovery codes, which are shown once.

The account is Pending until its first completed sign-in, then Active. Creating an account grants nothing: once it is Active, give it access with the tasks below. An email conflict creates or links nothing: use Add local sign-in on the existing user instead. Hivemind never merges two accounts because their names or emails match.

Before handing setup access to an existing Pending account, or reactivating a suspended recipient, review its existing resource grants and remove unwanted access. Earlier grants remain recorded: a Pending account becomes Active at first sign-in without an operator activation step.

Manage local sign-in for an existing user

Requires: deployment operator. You cannot reset or disable your own local access from the list.

Open Identity & Groups → Users, then the user's row actions:

  • Add local sign-in: adds a password and authenticator to a user who has none, including an account imported from 1.6 or one whose setup access was lost or expired. It issues a new setup access; any unused earlier one stops working.
  • Replace setup access…: shown while a setup access is still valid; the one already handed over stops working.
  • Reset local access…: the password, authenticator, recovery codes and local sessions stop working at once; the person receives a new setup access. Grants and identity-provider sign-in are kept. Use it when someone lost both their authenticator and their recovery codes.
  • Disable local sign-in…: ends local password sign-in and local sessions. Grants and identity-provider sign-in are kept.

The Sign-in methods column shows Local setup pending while a setup access is unused and valid.

Add local sign-in and Reset local access hand the setup access to you, the acting operator. Whoever uses it signs in as that user, with their current grants and their personal space. Hivemind does not ask the user to confirm and does not notify them; the action is audited under your identity. A user who signs in with a password notices, because it stops working; adding local sign-in to a user who signs in only through the identity provider changes nothing on their side. The action covers every user of the deployment, not only the selected tenant. Hand the setup access only to the person it belongs to, privately, and keep deployment operator access to people you trust with every account. The end-user guide tells people this in Your personal space.

Edit a user's email or grant operator access

Requires: deployment operator.

  1. Open Identity & Groups → Users and open the user.
  2. Select Edit email to change the address. The user keeps the same ID and sign-in bindings. Verify the address before saving: for an account still pending, it may be the address its first identity-provider sign-in uses.
  3. Select Grant operator access… to make an active user a deployment operator, or Revoke operator access… to remove the role. The grant applies across the whole deployment. You cannot revoke your own role.

Keep at least two independently controlled operators. Every active operator must also stay an active member of a tenant.

Manage tenants and their members

Requires: deployment operator.

A tenant holds its own spaces, projects, groups, grants and agents. People and identity providers are shared by the deployment; a session works in one tenant at a time. The authority store keeps tenant records, and the Tenants screen can create another tenant. Tenants share the deployment's storage and secrets: use one deployment per organization. See Hivemind 1.7.

  1. Open Tenants in the Operator tools.
  2. Select Create tenant and enter a name. You become its first manager; it starts with no spaces and no other members.
  3. Open a tenant to see its state and ID, Rename tenant… it, or Suspend tenant… a tenant other than the one you work in. A suspended tenant cannot be selected by anyone.
  4. Members are managed only for the tenant you work in. To work in another tenant, use the tenant menu under your name in the sidebar: choosing one starts a new session in it and reloads the page.
  5. In the current tenant's drawer, select Add member, enter the person's user ID (a UUID shown in their user record), choose Member or Manager, and give a reason. The reason is recorded in the audit.
  6. Use a member's Actions menu to Make manager…, Make member… or Remove from tenant… (see Offboard a person).

Manage groups

Requires: deployment operator to create or delete a group. A space or project manager who is not an operator can change the local members of a group whose whole access they already cover, from Account → Groups.

  1. Open Identity & Groups → Groups and select Create local group, with a name and a purpose.
  2. Open the group. Under Members, select Add member, choose User or Agent, and give a purpose.
  3. Give the group access to a space or a project from Memory Operations. Members inherit the group's grants; Access given by this group shows them.
  4. To remove someone, use Remove membership on their row. To remove the group itself, use Delete group.

Memberships owned by a directory are shown with their origin and cannot be changed from the local form. Group membership never gives an agent deployment operator powers.

Create an agent and issue its credential

An agent is the identity an MCP client acts as. There are two ways to create one.

Your own agent. Requires: any signed-in person, within their own current rights.

  1. Open Account → Agents and select Create agent.
  2. Under Grant space access, keep the default (Read on every listed shared space), select Choose spaces to set a level per space, or select No access. Your personal space is included only if you select Personal space explicitly in Choose spaces. The list is fixed at creation: spaces created later need their own grant.
  3. When Issue API token opens, choose a lifetime (1, 7, 30, 90 or 365 days, or a whole number from 1 to 365) and an optional description, or select Later.
  4. Use Show token or Copy token, store the token in the client, then select I have saved it. The token is never shown again.

An agent for someone else, or a standalone agent. Requires: deployment operator.

  1. Open Identity & Groups → Agents and credentials and select Create agent.
  2. Keep Standalone — no user or associate the agent with an active user of the tenant. You may grant one space or project at creation; other grants are made later in Memory Operations.
  3. Issue its credential from Issue credential. An operator issues credentials for standalone agents and for agents they own; the owner of an agent linked to another user issues that agent's credentials. Operator issuance has an absolute expiry of at most seven days.

To connect a client with the token, see Connect a client.

Change, rotate or remove an agent

Requires: the agent's owner (Account → Agents → Manage) or a deployment operator (Identity & Groups → Agents and credentials).

  • Space access lists the agent's grants. Use Add space or a row's actions to add, change or remove a direct grant; the level must be within your current rights. A grant through a project can still give access after a direct grant is removed.
  • Read notes opens Short memory filtered on that agent.
  • Rename agent can interrupt the agent's in-progress and queued requests: check their status before resubmitting.
  • To rotate a token, issue the replacement, verify the client works with it, then revoke the old one (Revoke API token… or Revoke credential…). Rotation is not atomic.
  • Change association (operator) invalidates the agent's existing credentials and grants; fresh approval and credentials are required.
  • Suspend agent… (operator) denies new access and its credentials. The agent identity and its data are retained.
  • Delete agent (owner) removes it from Account and revokes its credentials, OAuth grants and resource access. Its record and stored data are retained.

On a deployment upgraded from 1.6, an agent imported from an admin token that had no email is a system operator agent. Its access to common spaces is not a grant on each space, so removing grants does not end it: suspend the agent. Suspension also stops work the agent already queued; revoking its credential only refuses new requests made with that credential. See Tokens imported from 1.6.

Offboard a person

Choose the narrowest action that fits. Each one is confirmed in a dialog that states its effect, and each is recorded in the audit.

Remove from tenant. Requires: deployment operator, working in that tenant. Use it when the person leaves this tenant but keeps an account.

  1. Open Tenants, then the tenant you work in.
  2. On the member's row, select Actions → Remove from tenant….
  3. Enter the reason, check I understand this person loses access through this tenant, and confirm.

Removal from a tenant:

Revoked or stopped Left in place
The person's browser sessions in this tenant Sessions in other tenants and their memberships there
Their direct grants on this tenant's resources Their account, email and sign-in methods
The automatic consolidation consents they saved there Their personal space and its data; the owner grant is kept but unusable while membership is revoked
Their group memberships in this tenant Every space, note, file and backup they wrote
Their ordinary agents in this tenant: suspended, not deleted Grants held by standalone agents or by other people
The credentials and OAuth grants of their Claude Auto-connect agent That Claude Auto-connect agent's identity, which stays active

Adding the person back restores their personal-space access only. Their other grants and consents stay revoked: grant again what is still needed. The two kinds of agent then differ:

  • Ordinary agents stay suspended. The 1.7.0 Portal has no control to reactivate a suspended agent: create a new agent and issue its credential if the person still needs one.
  • The Claude Auto-connect agent is not suspended. Its old credentials stay revoked, but the person's next Claude Auto-connect sign-in issues fresh ones for the same agent, with no action from you. Its access still intersects with its owner's current rights, so it cannot reach the spaces whose grants were revoked until you grant them again.

The removal dialog in the Portal says that every owned agent is suspended; the Claude Auto-connect agent is the exception described here.

Suspend user. Requires: deployment operator; not available on your own account. Open the user in Identity & Groups → Users and select Suspend user…. Their sessions and linked agents lose access; their personal space and stored data are retained. Standalone agents are not affected.

Delete user. Requires: deployment operator; not available on your own account. Open the user and select Delete user…. Deletion applies across all tenants and cannot be undone from the Portal:

Revoked Retained
Sign-in, by every method The account as a read-only record
All sessions The email address, which stays reserved
All grants, in every tenant Personal spaces and their content
Credentials linked to the account Every note, file and backup they wrote

Neither action deletes memory content. Deleting stored data is a separate decision: see Manage spaces.

Grant and membership reductions deny new access first; work already admitted under the old rights must drain before the reduction is complete. A pending reduction stays visible and is never retried automatically.

Verify

  • Identity & Groups → Users: the user's status (Pending, Active, Suspended or Deleted) and Sign-in methods match what you did. Open the user to see their current access.
  • Account → Granted rights (for the person themselves) lists the rights at the last access check. A session or credential may have fewer.
  • Account → Active agent credentials lists unexpired, unrevoked credentials of active agents.
  • Tenants: the tenant's Members no longer list a removed person.
  • Audit (Operator tools) shows the recent events of this Core process. It is an in-memory list cleared by a restart, not a permanent history.

Troubleshoot

Symptom Cause Fix
step_up_required on a protected change The identity confirmation expired Confirm your identity again when the Portal asks, then retry
A new operator does not see Operator tools The promotion applies only to a fresh session Sign out and sign in again
Not changed with a stale or refused message Someone changed the record meanwhile Close, reopen the record and retry on its current state
Unconfirmed operation after a change The response was lost Check the current state before acting; the Portal never resends automatically
A grant removal or member removal stays pending Admitted work under the old rights is still draining Wait and refresh; nothing is retried automatically
An operator is refused on a space's content The operator role carries no content access Grant yourself access through the ordinary grant path; it is audited
The access inventory answers control_capacity The complete inventory is limited to about 450 KB of data Use the native operator interface for a larger deployment; inventory paging is not delivered in 1.7.0

Not in 1.7.0

  • Project screens for ordinary members and member-created projects: planned for 1.8.0. Projects are created by an operator in Memory Operations.
  • SCIM provisioning and synchronization: planned for 1.8.0.
  • Revoking an OAuth connection from the Portal: an ordinary user is directed to the MCP client's own connection flow instead.
  • Legacy token administration (admin_create_token and related tools) is not available to a signed-in session.

The complete contracts are in Portal identity and access and Local password and TOTP accounts.

Next