Skip to content

Users & roles

A member’s baseline in Lunen is one of two words: User or Admin. Users run their own agents. Admins also manage the workspace — users, roles, policies, provider access, and the MCP registry — and read its audit log. Everything finer-grained than that is a role you attach on top.

Updated 20 October 2026 · 8 min read

How members join and leave

Membership comes from your identity provider. Invitations are sent from Settings → Users with Add User: enter an email, choose a Workspace access level (User or Admin — User is the default), and Send invite. The invitation waits under the Pending Invites tab, with its expiry date, until it is accepted. The first administrator of an organization is whoever holds the admin membership role in your identity provider — there is no in-app bootstrap.

Each pending invite has its own Actions for … menu. Resend invite sends the email again with a fresh expiry; Revoke invite asks you to confirm, then the invite’s link stops working — you can invite the same person again later. An invite that has already expired leaves the tab and needs a new one.

To remove a member, open the Actions for … menu on their row under Active Users and choose Remove from workspace, then confirm. They lose access right away: their roles are removed and they are signed out. To bring them back, invite them again. You can’t remove yourself. Inviting, resending, revoking, and removing all need user-management permission, which the managed Admin role carries.

To change a member’s baseline later, open the Actions for … menu on their row under Active Users and pick Workspace access. A change made there applies immediately, and the member’s outstanding session tokens are revoked. A change made in the identity provider itself reaches Lunen at the member’s next sign-in or through the identity provider’s webhook, whichever comes first — the two paths converge on the same result.

Note

Directory sync (SCIM) is not supported. Members arrive through invitations and leave when they are removed from Settings → Users or their membership is removed in the identity provider — either way, Lunen removes their roles and signs them out.

Inviting someone as Admin needs an admin role to exist in your WorkOS environment; without it the invite fails with Could not invite as Admin. Ensure an ‘admin’ role exists in the WorkOS dashboard (Authorization → Roles).

The three managed roles

Lunen ships three managed roles. A member always holds exactly one of the two baselines; Agent Reviewer is additive. The Roles page lists them with Managed By: System, and they cannot be renamed or deleted.

RoleGrants
AdminUser, role, policy, provider-access, MCP registry, Model Defaults, and audit administration, plus access to every agent in the organization.
Agent ReviewerEvery agent and Task Agent in the organization, with permission to manage, run, and delete them, plus organization-wide Usage. No administration of users, policy, or providers, and no audit log.
UserAccess to the member’s own agents.

Admin and User are assigned automatically from workspace access. Agent Reviewer is assigned by hand: open the member’s Actions for … menu and tick Agent Reviewer (managed) under Additional roles. Choose it for someone who should work across every agent without changing policy — and remember that it is not read-only.

Custom roles and policies

Roles bundle the policies that grant access to agents, tools, and secrets across Lunen. When the managed roles are too coarse, create one under Settings → Roles with New Role (a name and an optional description), attach policies to it from its row menu’s Policies submenu, and assign it to members under Additional roles on Settings → Users. The Roles page has All Roles, System, and Custom tabs; only custom roles offer Edit Role and Delete Role.

A policy is edited as a permission matrix under Settings → Policies. Its Lunen Services sections cover the same ground as the product itself:

SectionGoverns
AgentsManaging, listing, deleting, running, and sharing Convo Agents.
Task AgentsViewing, managing, deleting, running, and sharing Task Agents, and their webhook triggers.
UsersUser management and role assignment.
PoliciesPolicy lifecycle itself.
File AttachmentsViewing and managing session file attachments.
SecretsProvider credential lifecycle — manage, list, use, delete — for your own or for everyone’s.
MCP Catalog ServersViewing and enabling catalog servers in the MCP Registry.
Organization MCP ServersViewing, creating, configuring, and deleting your own servers.
MCP Org / User CredentialsCredential lifecycle at each scope.
Audit LogAudit visibility.
Model DefaultsSetting the organization’s default models.
UsageUsage and analytics visibility.
Lunen ToolsLunen’s own built-in tools.

MCP servers’ tools are listed beneath, grouped as Enabled Services, Disabled Services, and Unavailable, each tool with its own Allow or Approve — see Policy & approvals.

Every check in the product resolves against these policies — pages you cannot access simply do not appear, and server actions re-check before they write. There is no permission that exists outside a policy.

Delegation

A role can be delegated: a member with an active membership can be granted the right to assume another Lunen role. Grants are managed per role from the Delegation submenu in that role’s row menu on Settings → Roles, and both the grant and the revoke land in the audit log as role.delegation.grant and role.delegation.revoke.

Warning

Role and policy changes take effect immediately. Assigning or removing an additional role invalidates the authorization cache and revokes outstanding session tokens for that member; editing or deleting a policy, attaching or removing a role’s policy, deleting a role, and granting or revoking delegation do the same for the whole organization. Expect a member’s next action, not their next sign-in, to reflect the change.