Appearance
Access control
Fleet decides what each person can do in a workspace from three things: the built-in role they hold, any custom roles they hold, and any individual rights granted to them directly. Each of these can apply across the whole workspace or within one environment.
The workspace owner — the account the workspace belongs to — can always do everything. Everyone else gets exactly what their roles and rights grant, and nothing more.
Resources and actions
Access is granted per resource: devices, trails, objects, channels, releases, plans, deployments, permissions, credentials, environments, the audit log and background actions. On each resource there are four common actions:
| Action | What it allows |
|---|---|
| View | See the resource. |
| Update | Change existing resources. Implies View. |
| Create | Create new resources. Implies View. |
| Delete | Delete resources. Implies View. |
Granting Update, Create or Delete also grants View: there is little use in changing what you cannot see.
Built-in roles
Built-in roles are fixed bundles of the common actions. They are the quickest way to give someone access.
| Role | Across the workspace | Within an environment |
|---|---|---|
| Viewer | View every resource. | Read-only access to the environment's devices, channels, releases and deployments. |
| Member | View and update, no create or delete. | View and update existing resources, no create or delete. |
| Contributor | View, update and create, no delete. | View, update and create, no delete. |
| Manager | Every action, including delete. | Every action within the environment, including delete. |
| Owner | — (the workspace owner) | Everything in the environment, including its settings and members. |
A built-in role held across the workspace applies in every environment. One held within an environment applies only to that environment's resources.
Capabilities
Some actions are too impactful to come with a built-in role, so they are capabilities with their own permission. The workspace owner holds all of them. Anyone else needs a custom role or an individual right that grants them — except where a capability names a built-in role that keeps it, shown below.
| Resource | Capability | What it allows | Held by default by |
|---|---|---|---|
| Devices | View commands | Read the history and results of remote commands. | Owner |
| Devices | Run diagnostics | Run read-only commands: list containers, groups, daemons, drivers, wakelocks, the xconnect graph. | Owner |
| Devices | Remote control ⚠ | Reboot the device and run its garbage collector. | Owner |
| Devices | SSH ⚠ | Enable or disable Pantavisor's SSH access to the device. | Owner |
| Devices | Logs | Read device logs, list log sources and open live log sessions. | Owner |
| Devices | Configure | Change the device's user-meta configuration. | Owner |
| Devices | Deploy ⚠ | Push new revisions to the device and upload their objects. | Owner, Manager |
| Devices | Assign channel | Assign the device to a channel or remove it, which deploys that channel's release. | Owner |
| Devices | Make public ⚠ | Make the device public on Pantacor Hub. | Owner |
| Devices | Download files | Download the device's objects and revision exports. | Owner |
| Channels | Download exports | Download the channel's export. | Owner |
| Releases | Control rollout | Play, pause, defer, cancel, finish, retry, redeploy, resend and promote rollouts, and resume paused channels. | Owner, Member and stronger |
| Releases | Download exports | Download the release's export. | Owner |
| Permissions | Manage roles ⚠ | Create, change and delete custom roles. | Owner |
⚠ marks sensitive capabilities: they control access, touch secrets, or act directly on devices. Grant them with care.
"Manager" or "Member and stronger" means that built-in role (and the ones above it) keeps the capability, across the workspace or within an environment, because those roles could do it before it had its own permission.
Custom roles
A custom role is a named set of actions and capabilities you define, such as a "Device operator" who can update devices and read their logs and nothing else. Custom roles are added on top of a member's built-in role.
A custom role can be assigned:
- Across the workspace — it applies everywhere.
- Within an environment — it applies only to that environment's resources. Only resources that can be scoped to an environment (devices, channels, releases, plans, deployments and actions) take effect there; the rest of the role applies only when it is assigned across the workspace.
See Roles for creating and editing them.
Individual rights
On a member's page you can also grant individual rights: a built-in role on one resource only (for example Manager on devices, Viewer on everything else), or a single capability (for example Logs on devices) without creating a role for it.
Environments
A member can be given access to some environments only. Within each one they hold a built-in role and, optionally, custom roles. A member limited to some environments only ever sees and acts on those environments' resources, even when a request names another environment, and grants in one environment never reach devices in another.
You can only grant what you hold
To stop anyone from giving away more than they have:
- You can only grant a built-in role, an individual right or a custom role whose actions you hold yourself where you grant it.
- Only an environment's owner, or the workspace owner, can make someone an environment owner.
- Creating, changing and deleting custom roles needs the Manage roles capability (the workspace owner by default), and even then you can only put actions you hold into a role.
Changes apply at once
Granting or removing access, editing a role, or deleting it takes effect on the member's next request. They do not need to sign in again. Deleting a role takes its access away from everyone who held it.
Related
- Permissions — manage who has access and what they can do.
- Roles — create and edit custom roles.
- Environments — separate your fleet and scope access to it.