Access

Add and manage workspace members

Give a teammate access to your workspace, and change or remove their role

Your workspace is your team and its billing. Everyone in it reaches every project, computer and database it holds, with the role you give them. To share only some projects, give someone scoped access instead.

You need the workspace's admin role. The examples use the CLI. Over MCP, an agent does the same with inspect_workspace_access, grant_workspace_access and remove_workspace_access. In the console, open Access.

List who has access

nevia access ls

The list shows everyone with access: people by email and role, and any principals that sign in with a private key by description.

Add a member

In place of [email protected], use the email from the person's nevia whoami, or their principal ID. Pick a role from Workspace permissions. Without --role a person joins as a viewer. An editor can create and manage computers and databases:

nevia access add [email protected] --role editor

If the email belongs to someone who has already signed in, that person joins immediately and receives an email with a link to the workspace. They appear in the access list with role editor:

nevia access ls

An email without an account gets an invitation instead. The API invites only addresses that are allowed to sign up and rejects the rest. A pending invitation stays valid for NEVIA_INVITE_TTL_DAYS days (14 by default) and takes effect on the person's first sign-in with a verified email. Re-inviting the same address resends the email and updates the role. The invitation carries no secret. It points at the console's sign-in page, and Nevia matches the account by verified email.

In the console, open Access under Workspace in the sidebar and add the email there.

List invitations

Pending invitations expire after their NEVIA_INVITE_TTL_DAYS window. The list shows pending invitations by default. Add --state all to include expired, accepted and revoked ones:

nevia access invites ls
nevia access invites ls --state all

Each row shows the email, role, state, and when the invitation was sent and expires. The console lists pending invitations in the Access table, where you can resend or revoke one.

Revoke an invitation

Revoking cancels a pending invitation before anyone uses it. The address can still sign up, with no pending invite to this workspace. Pass the invitation ID from the list:

nevia access invites rm 01d4cnjn1xy3n9dcwtjnxbxhf15

Confirm when prompted. Command options are in nevia access.

Change a role

To limit someone to inspecting resources, change their role to viewer:

nevia access set [email protected] --role viewer
nevia access ls

Their role now reads viewer. Viewers can't run commands on computers or retrieve database passwords.

The API refuses to demote or remove the last admin. Make another member an admin first.

Remove a member

Removing a member ends every access they had here, the workspace role and any project grants the same workspace.

nevia access rm [email protected]
nevia access ls

Confirm when prompted. The member no longer appears in the list.

Command options are in nevia access. To let a script or agent act in the workspace, give it access with a private key. To share some projects instead of the workspace, see Give access to part of a workspace.

On this page