Team Members
Invite collaborators to a workspace, give them a role, and decide how far that role reaches. Team members are the people on your team (engineers, editors, agency partners) who sign in to the console or use the CLI. They sign in to Foir itself, apart from the people who sign in to your app, who are users of your project: see Users.
How access is decided
A workspace owns one or more projects. Two independent things decide what a team member can do inside it:
- The role they hold — a named set of permissions, like
records:publish,models:write,files:read. Roles are yours to define. There is no fixed ladder of Owner / Manager / Editor / Viewer to fit people into. - The scope of the grant — whether you gave them that role across the whole workspace, or on one project. The same role means the same permissions either way; the scope decides how much it covers.
Both axes matter, and they are worth thinking about separately. A role that manages a project, granted on one project, manages that project. The same role granted workspace-wide manages every project in the workspace — and still confers nothing at the workspace level, because that is a property of the role, not of where you attached it.
Permissions are read out of the role on every request and on every database query. Two roles carrying the same permissions get the same access whatever you have called them, because the enforcement never looks at the name. See Authorization & Access.
The two ready-made roles
You compose most roles yourself, but two come with the platform because “manages this subtree” is an authority level rather than a convenience bundle:
| Role | Permission | Covers |
|---|---|---|
| Workspace manager | tenant:manage | Everything in the workspace, including billing, projects, invitations and export. |
| Project manager | project:manage | Everything inside a project: content, models, files, operations, settings, hooks, schedules, apps, the project’s own API keys and signing secrets, its users, its sign-in domains, and who has access to it. |
The person who creates a workspace is granted Workspace manager on it, workspace-wide, in the same transaction that creates the workspace. A workspace never exists without one.
These two are bundles that grow with the platform: when a new permission is added to an existing area, everyone holding the matching authority gets it without a migration or a re-grant.
What Workspace manager adds
This is the useful list, because it is exactly what a Project manager cannot reach:
| Area | Permissions |
|---|---|
| Billing and the subscription | billing:read, billing:manage |
| Creating and deleting projects | projects:write |
| Renaming the workspace | tenants:write |
| Inviting people into the whole workspace | members:write across the workspace |
| The workspace’s own admin keys | controlkeys:write |
| Workspace-wide event subscriptions | tenanthooks:read, tenanthooks:write |
| The cross-project audit trail | audit:read |
| Exporting to Postgres | export:run |
Everything else in the permission vocabulary is inside project:manage, so a Project manager holds it.
Export is a judgement call worth stating: the rows belong to a project, but taking a copy of a workspace’s content off the platform is treated as a workspace decision, so it sits with billing rather than with content.
An agency running client projects
This is the case the model exists for.
You founded the workspace, so you hold Workspace manager across it. You take on a client whose site is one project in that workspace. You want them to genuinely run their project — publish, change the schema, wire their own webhooks, mint their own project API keys, manage their own users — without ever seeing your invoice, creating or deleting projects, or exporting the workspace.
Invite them, give them the Project manager role, then scope that grant to their project. That is the entire configuration.
They manage that project completely and reach nothing outside it. Not because a screen hides it: the policy on the billing rows asks for billing:read, the project-creation path asks for projects:write, the export path asks for export:run, and none of those are in project:manage. A query they run against billing returns no rows, through the console, the API, or the CLI.
Some variations:
- Your own delivery leads — grant Project manager workspace-wide. They manage every project in the workspace, and still have no billing and cannot create or delete projects.
- A freelancer doing content on one project — compose a role holding just Content read, write and publish, and grant it on that project. Add Files write if they upload media.
- A read-only stakeholder — a role holding only the read permissions for the areas they should see.
- A client with several sites — one project each, one Project manager grant each. Nothing they hold on one reaches the other, because a project-scoped grant matches only its own project.
When an engagement ends, revoke the grant. The role definition stays for the next one.
Composing your own roles
Roles live under Workspace → Roles, next to Members, with two tabs: Roles (what exists) and Assignments (who holds what). New role asks for:
- a Key — a stable slug for config-as-code and scripts, e.g.
content-editor. It cannot be changed after creation. - a Display name — what people see on the Members list.
- the Permissions it grants, ticked from a checklist grouped by area: Content, Models, Files, Operations, Settings, Integrations (hooks, schedules, config values, app installs) and Notifications.
Roles are disabled rather than deleted, so a role that is still in use can be taken out of service without orphaning anyone: holders keep their current session until it refreshes, then fall back to the other roles they hold.
Two rules govern who may do any of this:
- Authoring or assigning roles requires
members:write, which both manager roles confer. - You can only grant what you already hold. Every permission in the role must be one your own effective permissions already include at that scope. This is set containment, not a ranking — there is no ordering of roles and no notion of a level above yours. The same rule applies to revoking a grant, which is what stops a project manager from stripping a workspace manager.
A permission that isn’t in the vocabulary is rejected outright, so a typo fails loudly rather than silently granting nothing.
Seeing what is not yet released takes drafts:read. It reads unpublished content, and the draft copy of the project’s definitions: models, fields and design tokens that have been changed and not released. A role without it is shown the released models and the published records, and a record its holder saves is checked against the released fields. Give a role drafts:read beside its record and model permissions where its holders author against changes that are not released yet.
Who can see whom
The Members list is scoped to the people whose workspace you share. This boundary is enforced at the database row level — not merely hidden in the UI — so it holds identically across the console, the API, and the CLI. You appear on it:
- To yourself, always.
- To anyone you share a project with. Any grant on a project you both hold puts you on each other’s roster.
- To anyone holding
members:readworkspace-wide, for everyone with a grant anywhere in the workspace. Both manager roles confermembers:read; a role composed from the content and configuration permissions does not. The grant has to be workspace-wide — a project-scoped one only ever shows that project’s roster.
The same row-level boundary governs reading and editing a member record: you can view only a member you can see, and a member’s profile (name, avatar, status) can be edited only by that person. Changing a member’s role or removing them is a separate action needing members:manage — see Managing existing members below. Add new teammates with Invite member rather than creating accounts directly.
A record’s fields follow the same model: a guarded field is read or written only by a holder of the grant that names it, records:read:<model>.<field> or records:write:<model>.<field>, enforced on every write path. See Guarded fields.
In the console
Members, Roles and Invitations sit under a workspace, and the workspace section is available to workspace managers.
Inviting a member
- Navigate to Workspace → Members.
- Click Invite member.
- Enter their email, pick the Role the invitation grants and, if it should reach only some projects, name them. Every invitation to the workspace carries a role.
- Click Send Invitation. The invitee receives an email with an accept link.
Accepting puts the person in the workspace with the role you chose: across it, or in each project you named. Someone who already has a Fóir account with that address joins as they are and signs in as they always do. They are never asked to choose another password, and accepting never signs them in on its own.
Invitations expire after seven days. Pending invites appear under Workspace → Invitations — you can resend or revoke from there. (A Pending badge on the Members list itself marks an account that has not finished signing up, not an outstanding invitation.)
Managing existing members
The Members list shows each person’s Roles as one badge per role they hold. There is no single “their role” and no highest-first ordering, because permissions compose rather than rank — someone can carry several badges at once.
Open a member’s row for the rest:
- Current roles — each grant with its scope, shown as the project’s name or Workspace-wide, and a control to remove it.
- Add role — pick a Role, then a Scope: Workspace-wide, or one named project. This is where a workspace-wide grant is narrowed to a project, and where a member picks up a second, different role on another project.
- Grants are additive. Someone holding a workspace-wide reader role and a project-scoped manager role has both sets of permissions on that project.
- Remove from the workspace ends their membership, and every role they hold across the workspace and in its projects goes with it. Their Fóir account stays. Removing one role only removes that role: someone left holding none still stands in the workspace, listed with no roles, until you remove them.
Role changes take effect at the member’s next session refresh: effective permissions are recomputed when their session token rotates, not mid-session. The same applies to a revoke — access ends at the next refresh, and existing API tokens are not invalidated (they’re personal-use tokens issued at signin, not portable).
Reviewing invitations
Pending invites are listed under Workspace → Invitations with their email, type, status, and created and expiry dates. Use Resend to re-send the email (useful if it landed in spam) or Revoke to cancel an outstanding invitation.
Through the AI assistant
The Fóir assistant can do the same work on your behalf. It reads the member roster and pending invitations, invites a teammate by email, grants or revokes a grant, cancels a pending invitation, and manages roles: listing them, authoring or editing a custom role, disabling one, and assigning or revoking it. Custom roles only; the ready-made roles above are fixed.
The assistant acts as you, and holds nothing of its own:
- It cannot exceed your authority. A grant needs
members:writein that workspace or project, and the role it confers must be a subset of the permissions you already hold, so a project manager cannot mint a workspace manager. The same cap governs authoring a role: you cannot write a permission into a role that you do not hold yourself. - It reads your authority live. Each action re-reads your grants from the database rather than trusting the snapshot in its session, so a role you lose stops being usable immediately rather than at the next refresh.
- It sees what you see. Listing members and invitations goes through the same row-level boundary described in Who can see whom.
- It is attributed to you. Changes the assistant makes are recorded as the assistant acting for your account, not as an anonymous service, so the audit trail names the person behind them.
Inviting a teammate needs members:write wherever the invitation gives its role: across the workspace, or in each project it names, as Invite member in the console does. Roles are a separate plane with its own tools — see User Authentication.
Where team members are managed
Team members, invitations, and role changes are managed in the console under Workspace, as described above, or through the AI assistant acting for a signed-in user. There is no public GraphQL API for inviting or removing team members or changing their roles.
The people who sign in to your app are users of your project, in its own pool, and they do have a programmatic surface, with the project’s own roles. See Users and User Authentication.
Limits
- One pending invitation per email address per workspace. Revoke and re-invite to change the role.
- Invitation links are single-use and expire after seven days. After expiry, send a new one.
- The workspace’s last manager cannot be removed from it. Give someone else a role carrying
tenant:managefirst. - A workspace must always keep at least one live, workspace-wide grant of a role carrying
tenant:manage. A revoke that would leave none is refused. The guard counts authority, not a role name — any role carryingtenant:managekeeps the workspace managed, whatever it is called — and it counts only workspace-wide grants, since a project-scoped one cannot govern the workspace. Promote a replacement before you step down and it behaves as you would expect. - A seat is consumed by each distinct person holding a live grant anywhere in the workspace, whatever role it is. Seats are a workspace-level plan limit — see Billing & Usage.
Support access
Fóir staff cannot enter your workspace without a workspace manager saying yes. There is no standing access and no back door that skips this.
When a member of support needs to see what you see, they make a request naming themselves and typing why. Every workspace manager then receives an email with the subject Approve Fóir support access to your workspace, carrying the support member’s name, their stated reason, and a six-digit code.
- The code is the approval. Share it with the support member only if you were expecting the request. Fóir will never ask you for it through any other channel — not chat, not a phone call, not a second email.
- Doing nothing grants nothing. A request that is not answered expires. It never ages into an approval.
- The request is answerable for an hour. After that it is dead and support has to ask again.
- An approved visit ends by itself after an hour. What you approved was one support interaction, not standing access. If the work runs longer, support asks again.
- You can refuse. Denying is terminal for that request.
Every request, approval, denial and expiry is recorded in the workspace’s audit trail, so you can read afterwards exactly who asked, why, and what was decided.
There is one exception, and it is deliberately visible rather than hidden: break-glass. It exists for the case where a workspace has nobody who could approve, it is audited under its own action so “show me every time staff bypassed a workspace” is a single filter, and nothing falls back to it. A request that goes unanswered does not become a break-glass; someone has to choose it, and the record says so.
Related
- Authorization & Access — how permissions are enforced in the database and at the request boundary.
- User Authentication: how the people who sign in to your app sign in.
- API Keys — programmatic credentials, distinct from member sessions.
- Billing & Usage — a workspace-level concern, gated on
billing:readandbilling:manage.