Skip to content

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:

ActionWhat it allows
ViewSee the resource.
UpdateChange existing resources. Implies View.
CreateCreate new resources. Implies View.
DeleteDelete 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.

RoleAcross the workspaceWithin an environment
ViewerView every resource.Read-only access to the environment's devices, channels, releases and deployments.
MemberView and update, no create or delete.View and update existing resources, no create or delete.
ContributorView, update and create, no delete.View, update and create, no delete.
ManagerEvery 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.

ResourceCapabilityWhat it allowsHeld by default by
DevicesView commandsRead the history and results of remote commands.Owner
DevicesRun diagnosticsRun read-only commands: list containers, groups, daemons, drivers, wakelocks, the xconnect graph.Owner
DevicesRemote control ⚠Reboot the device and run its garbage collector.Owner
DevicesSSH ⚠Enable or disable Pantavisor's SSH access to the device.Owner
DevicesLogsRead device logs, list log sources and open live log sessions.Owner
DevicesConfigureChange the device's user-meta configuration.Owner
DevicesDeploy ⚠Push new revisions to the device and upload their objects.Owner, Manager
DevicesAssign channelAssign the device to a channel or remove it, which deploys that channel's release.Owner
DevicesMake public ⚠Make the device public on Pantacor Hub.Owner
DevicesDownload filesDownload the device's objects and revision exports.Owner
ChannelsDownload exportsDownload the channel's export.Owner
ReleasesControl rolloutPlay, pause, defer, cancel, finish, retry, redeploy, resend and promote rollouts, and resume paused channels.Owner, Member and stronger
ReleasesDownload exportsDownload the release's export.Owner
PermissionsManage 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.

  • 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.