Members and roles
People work together in a team organization. Each member has one role in the organization, and can have more roles on single projects. A member may do whatever any of their roles allows. A personal organization always has exactly one member: you. The organizations and projects page explains the model.
Organizations from the auth service
Team organizations come from the auth service you sign in with. Its administrators decide who in the organization may use Forge, and with which role:
- When the organization gives someone Forge, they are a member here right away, even before their first sign-in. When it takes Forge away (or they leave the organization), they stop being a member, are signed out, and can't sign in again until an organization gives Forge back.
- The organization's owners are owners in Forge. Everyone else has the highest of the Forge roles the auth service gave them (built-in roles: admin, maintainer, developer, viewer), or member without one.
- Changes in the auth service reach Forge within moments; a name or slug change too.
So the Members page of such an organization only lists its members: there is no role picker, no Remove, no Leave and no invitations. Manage in the auth service opens the place to change them. Roles on single projects are still given in Forge (see below).
Create an organization and invite people
Both happen in the auth service. New organization (in the organization switcher, and on Home) opens your organizations there: create one, invite people, and give them Forge. They appear in Forge as soon as the organization gives them Forge.
Rename or delete an organization
An organization's name and its deletion are the auth service's too; its Settings page in Forge links there. When the organization is deleted there, Forge deletes it with the usual restore period: restoring it in the auth service within that time brings it back in Forge with its projects, runs and settings. After that Forge deletes its data for good.
Built-in roles
| Role | What it can do |
|---|---|
| Owner | Everything, including billing, deleting the organization and support access. |
| Admin | Manage the organization and all its projects, except billing, deletion and support access. |
| Maintainer | Everything inside projects: settings, members, service accounts, secrets, environments, webhooks, runners, debug shells. |
| Developer | Start, cancel and keep runs; edit templates, flows, schedules, triggers and variables; approve runs from forks; use secrets and registries; delete caches. |
| Viewer | See projects and runs, without changing anything. |
| Member | Be in the organization, without access to its projects until given a project role. |
These are the only roles: they can't be changed, and there are no roles of your own. The organization's Roles page shows each one with its permissions. Every member can see the organization, its members and its roles, whatever their role.
Permissions
Organization permissions only count in an organization role. Project permissions count on all projects in an organization role, and on one project in a project role. Permissions lists every permission, its level and what the built-in roles hold.
Organization role and project roles
A role held in the organization applies to all its projects: a developer there is a developer in every project. A role held on a project applies only there, and only its project permissions count. Project roles add to the organization role; they never take anything away.
To give someone a role on one project, open the project's Members page, Add a member, pick the Person and the Role, and Add. Only members of the organization can be added, so invite people to the organization first. This needs the right to change project settings and members (maintainers and up).
Change and remove project members
On a project's Members page, pick another Role to change someone's project role, or Remove them from the project. Losing Forge in the organization also removes them from all its projects.
Who can give which role
Nobody can give a permission they don't hold. So to change a project role or remove a project member, you need to be allowed to give both the role they have now and the role they get.
Leaving
Anyone can Leave a project themselves, without asking. Leaving an organization happens in the auth service.
Support access
The Forge platform team can't see into your organization on its own. When they need to, for example to look into failing runs, they ask, and owners decide on the organization's General page under Platform support access:
- Grant access for 1, 24 or 72 hours, or Decline. Revoke ends it early.
- Access is read-only, and secret values are never shown.
- While it lasts, every member sees a banner naming who has access and until when.
- Requests, grants and their end are in the audit log.
The audit log
The organization's Audit log page records who changed what: members, roles,
projects, service accounts, templates, secrets, runners, webhooks, billing and more. Each entry
has the time, who did it, the action, details and the IP address. It needs audit:read (owners
and admins). The API has it at GET /api/v1/orgs/{org}/audit.
The activity feed
The Overview of a project or an organization shows what is happening as it happens: runs and flow runs starting and finishing, schedule fires and Git deliveries that started nothing, changes (worded as in the audit log) and runners going offline and back. Filter it with Show. A project's feed needs read access to the project. An organization's feed shows the organization's own entries and those of the projects you can see. The feed never shows IP addresses, emails or secret values.
From the command line:
forge activity --org acme -n 50 # the organization's last 50 entries
forge activity --project acme/web # a project's
forge activity --project acme/web --kind run,fire -f # runs and fires, then follow new ones
Kinds are run, flow_run, fire, delivery, change and runner. -f keeps printing new
entries until you stop it.