Users and members
What it does
Users are the people who can sign in, so an owner can invite a teammate and a member cannot administer the workspace.
Admin → Users (/settings/users) lists the people in the current workspace. An owner or an admin can invite, change a role, and deactivate. A member cannot administer this screen. Calls go through workspace membership checks. A personal access token cannot administer users.
Roles
| Role | What it is for |
|---|---|
owner | The installing membership. The last owner cannot be removed or demoted by the membership trigger |
admin | Can invite, change roles, and deactivate, same as an owner, on this screen |
member | Can use Cockpit. Cannot administer members |
Invite by email. If the person already has an Auth user, they are added. If they do not, Cockpit sends an Auth invite and then adds the membership. The invite link returns them to /login on your app origin. They still sign in with a one-time code. The login form does not sign up a stranger who was never invited.
Deactivate revokes that person's personal access tokens, removes their permission-set grants, and disables the membership. An access token that was already issued stays valid until it expires.
There is a separate user_profiles.is_admin flag used by a few database policies, including extraction-threshold writes. It is not the same switch as the workspace admin role. On a running workspace, treat the Users role as the control you have in the UI.
Domains
Labels live on Domains. They filter tasks and projects. They do not grant permissions.
Permission sets on a person
Permission sets can attach sets to a user. That attachment is behind app_settings key feature.permission_sets_users, and the flag defaults off. While it is off, the user-grant table is not the enforcement path. Tokens carry their own scopes. Details are in Permissions and API keys.
Integrations
Provider connections are Integrations. Connecting a provider does not create users.
Notifications
The in-app inbox is Notifications.
MCP tools
No MCP tool invites, demotes, or deactivates a member. A personal access token cannot administer this screen. Every verb goes through workspace membership checks on the session.
HTTP endpoints
| Method | Path | Role |
|---|---|---|
GET, POST | /cockpit/api/users | List members, or invite, change a role, or deactivate |
POST is limited to an active workspace owner or admin. A member's call is rejected.
Permissions
This screen is workspace role, not a token scope. Owner and admin can invite, change roles, and deactivate. A member cannot. Deactivate revokes that person's personal access tokens and permission-set grants.
Row access elsewhere is RLS by creator. Admins see all rows. Members see their own. Membership here is what makes someone an admin or a member.
Agent example
There is no tool call. A session client lists members.
{
"method": "GET",
"path": "/cockpit/api/users"
}
Expected result for an owner or admin: the workspace members and their roles (owner, admin, member). A member's session is rejected. The payload does not include a token secret.
{
"ok": true,
"members": [
{ "role": "owner" },
{ "role": "member" }
]
}