Skip to main content

Members

Workspace settings → Access → Members controls who can use the workspace and with which role. Members can be single people or whole groups. A person's role decides what they can do in the workspace: view, build and edit, or administer.

The Members page of the Docs sandbox workspace: people and groups with their roles

You need to be a workspace admin (the ws_admin role) or a platform admin to open this page.

The member list​

The summary line counts members, admins, people and groups. The table has these columns:

ColumnMeaning
MemberThe person's email or the group's name. A platform admin carries a platform admin tag, with the tooltip Also a platform admin — has access to every workspace.
TypeUser or Group.
RoleThe workspace role, shown as a dropdown you can change.
Added byWho added the member.
AddedWhen, relative.

A note under the title says Workspace roles apply only inside <workspace> — see the Roles & permissions tab for what each grants. Platform-wide access is granted separately in Control Plane → Access control. A search box filters the list. An empty workspace says No members yet.

Add a member​

  1. Press Add member.
  2. Under Type, choose User or Group.
  3. Type the person's email (User email…) or the group's name (Group name…). A few letters are enough: matching people are suggested with their name and email (typing emma suggests Emma Schmidt emma.schmidt@egret.local); pick one. The person must already exist in the platform (an SSO user has signed in once, or a local account has been created), unless single sign-on is on: then you can type the email of someone who has not signed in yet (see below).
  4. Choose the Role. The default is ws_viewer.
  5. Press Add member. A toast says Member added.

The Add member dialog with an email typed and the matching user suggested

The dialog is Give a user or group a role in this workspace. Adding a group gives every member of the group the role.

tip

Prefer adding groups: when someone joins the group in your identity provider, they gain access at their next sign-in, and you do not have to touch the workspace.

The roles you can choose​

The role picker lists the workspace's roles, the same list as Roles & permissions: ws_admin, ws_editor, ws_viewer and any custom role (such as finance_reporter). data_api_invoker is not offered: it is granted on one Data API endpoint to a service account, never as a membership. See Roles to create a custom role.

Add someone who has not signed in yet​

Egret learns about an SSO user at their first sign-in. With single sign-on on, you can still add that person beforehand:

  1. Press Add member, keep User, and type the full email address. The dialog says Someone who has not signed in yet can be added by email. They join when they first sign in with SSO.
  2. Choose a workspace role and press Add member. The toast says <email> will join as <role> at their first sign-in.

The email is listed under Waiting for first sign-in below the member table, with its role, when it was added and by whom. When that person first signs in with SSO, the entry becomes a normal membership and leaves the list. It binds only when the identity provider says the email is verified (email_verified: true in the ID token); otherwise the person lands on No workspaces yet and the entry stays. Only a workspace role can be given this way, never a platform role. If the person is already a member by then, their current role is kept.

Withdraw on an entry asks Withdraw the invitation? (<email> will not join <workspace> when they first sign in.) and removes it. Without single sign-on, an email that matches no account is refused (unknown user: <email>).

Change a role​

Use the dropdown in the Role column. A toast says Role updated. The last admin of a workspace cannot be demoted: the dropdown is disabled with the tooltip Last admin — role can't be changed.

Through the API, demoting or removing the workspace's last admin is refused with 409 the workspace must keep at least one admin. Only an admin grant in force counts: an expired grant, or one whose effect is deny, makes nobody an admin. The same rule decides membership: a principal whose only grant in the workspace is a deny is not a member, is refused there (403) and does not see the workspace in the switcher. The members API writes only allow grants.

Remove a member​

Open the ⋯ menu on the row (Actions for <member>) and choose Remove from workspace. The dialog Remove from workspace? asks you to confirm, and a toast says Removed from workspace. The person keeps their account and any access they have through other workspaces or groups.

The menu also has Impersonate, which lets a platform admin see the workspace as that person (see Impersonate a member).

Bulk select​

Bulk select adds a checkbox to each row. After you tick rows, a bar shows N selected with Remove, Set role… and Clear. Set role… opens a dialog to choose one role for all the selected members; Remove removes them all. Press Done to leave bulk mode.

Bulk select with two members ticked and the actions bar

Impersonate a member​

Impersonate in the row menu lets a platform admin act as that member, to check what the person sees.

  1. Open ⋯ → Impersonate on the member's row. The dialog Impersonate user says You'll act as this user until the session expires or you exit. This is logged and requires a reason.
  2. Type a Reason (required).
  3. If you sign in with a local account, type your Password. Signing in with SSO? Leave this blank — you'll be redirected to re-authenticate.
  4. Press Impersonate.

The workspace reloads as that person, with a banner at the top: Impersonating member-sso@egret.local · 29:57 left and an Exit button. The session lasts 30 minutes. Pages and actions the person may not use behave as they would for them (for example Workspace settings → Members is refused). Press Exit to return to your own session.

The audit log records impersonation.start (with your reason) and impersonation.end with you as the actor. What you do in between is recorded under the person you impersonate, not under your name.

caution

Impersonation changes the session you are signed in with. Do not use it from a browser session that someone else, or a script, shares.

Access requests​

People who are not yet members can ask to join (see Access requests). Approving a request adds them here.

Limits and known issues​

  • A workspace can have no admin when it is created in the Control Plane. Add a member with ws_admin first.
  • Platform admins have access to every workspace without being members.
  • A direct POST /api/ws/{workspace}/members call still accepts data_api_invoker, which the role picker no longer offers (KI-261).

Further reading​