Skip to Content
LogiStackDocs
Team and security

Roles and permissions

How LogiStack permissions work, the Owner, Admin, Developer, Viewer, Project manager and Guest roles, custom roles, and grants on every scope.

A role is a named set of actions. You grant a role to a member or a service account on a scope: the whole organization, a folder, a project, an environment or one service. Read this page to choose the right role for someone, to create a custom role such as "can deploy but not edit", or to understand why a request was denied.

The permission model

LogiStack checks every request, from the dashboard, the REST API or the MCP server, with the same rule:

An actor may do an action on a resource when some grant they hold, on that resource or on any scope above it, includes the action.

The parts of that rule:

  • Scopes form a tree. Organization › folder › subfolder › project › environment › service. A grant on a scope reaches everything below it. Developer on folder Clients can deploy every service of every project in Clients and its subfolders.
  • Grants only add. There are no "deny" grants. An organization role applies everywhere; extra grants widen access on one branch. To give someone less, give them a smaller organization role (usually Viewer) and add grants where they need more.
  • The organization role is a grant too. The role in the Members list is a grant on the whole organization.
  • API keys narrow, never widen. A key acts as its owner. A scoped key can do an action only where both the owner's grants and the key's scopes allow it. See API keys.
  • Deleting the organization is the one action reserved to Owners, whatever other roles allow.

Example

Tom is Viewer on the organization, with deployer (a custom role with Read and Deploy) on project Storefront.

Tom tries to…Allowed?Why
Read logs of Booking APIYesViewer on the organization includes Read
Deploy storefront-webYesdeployer on project Storefront includes Deploy, and the service is inside it
Change an env var of storefront-webNoNo grant of his includes Write
Deploy Booking APINoHis only Deploy grant is on Storefront

The audit log records each denied attempt with the outcome Denied.

Actions

Every role is a subset of these actions. The labels are the column headers on the Roles page.

ActionLabelAllows
readReadSee projects, services, deployments, logs and settings.
read:secretsRead secretsReveal secret environment variables and credentials.
deployDeployStart deployments, restart and roll back services.
writeWriteCreate and change projects, services, domains and variables.
deleteDeleteRemove projects, environments, services and domains.
adminAdministerManage members, roles, keys and integrations on the scope.
execTerminalOpen a shell inside running containers. Every session is audited.
aiAICall models through the AI gateway, within the budget an admin assigns.
pluginsPluginsInstall, configure and remove plugins, within the instance policy.
read:workRead tasksSee lists, tasks, comments, attachments and views, and the project's service health.
comment:workComment on tasksComment, react, attach files to comments and tick checklist items assigned to you.
workWork on tasksCreate, edit, move, assign and archive tasks, set fields, track time, save personal views. Includes Read tasks and Comment on tasks.
work:adminManage tasksLists, statuses, custom fields, tags, shared views, templates, imports and the project's Tasks settings.

Read secrets, Administer, Terminal and Plugins are marked Sensitive in the role editor. Grant them deliberately.

The four Tasks actions are described in Project manager and guest roles. Grants on an environment or a service don't give Tasks access, because tasks live at project level.

Built-in roles

RoleReadRead secretsDeployWriteDeleteAdministerTerminalAIPlugins
Owner✓✓✓✓✓✓✓✓✓
Admin✓✓✓✓✓✓✓✓✓
Developer✓✓✓
Viewer✓
Project manager
Guest

Tasks actions per role:

RoleRead tasksComment on tasksWork on tasksManage tasks
Owner, Admin✓✓✓✓
Developer✓✓✓
Viewer✓✓
Project manager✓✓✓✓
Guest✓✓
  • Owner: everything, including deleting the organization. Only an Owner can make or unmake Owners, and an organization always keeps at least one.
  • Admin: everything except deleting the organization.
  • Developer: ships code. Reads, deploys and edits, never sees secrets, can't delete, and can't open a terminal.
  • Viewer: reads everything except secrets, and comments on tasks.
  • Project manager (manager): manages tasks, lists and fields; sees whether services are up. No access to deployments, logs or settings. See Project manager and guest roles.
  • Guest (guest): reads tasks and comments on one project. For clients. Can only be granted on a project. See Guests.

Developers and Viewers gained the Tasks actions in release 0.7.0, and so did API keys that use those roles. Custom roles keep exactly the actions they list.

No organization role reaches what every organization on the server shares, such as updates, nodes and instance-wide settings. Those also need an instance admin.

Built-in roles can't be edited or deleted. Owner can only be held on the whole organization, and Guest only on a project.

See the roles

In the sidebar, under Settings, select Roles. The page shows Built-in roles and Custom roles as a matrix of actions, with the number of Holders of each.

The Roles page: a matrix of the four built-in roles and two custom roles, deployer and secrets-auditor, against the actions

Create a custom role

Create one when no built-in role fits, for example a release manager who may deploy and roll back but not edit, or an auditor who may read secrets but change nothing. You need the Owner or Admin role.

Open the role editor

On Settings › Roles, select Create role. The New custom role panel opens.

Name the role

The role editor with a Name field and the list of allowed actions, sensitive ones marked

In Name, type a lowercase name with letters, digits and dashes, starting with a letter, up to 32 characters. For example deployer or release-manager. Names can't change later, and owner, admin, developer, viewer, manager, guest and member are taken.

Pick the actions

Under Allowed actions, check the actions the role allows. A new role starts with Read and Deploy checked. Pick at least one.

For a release manager, keep Read and Deploy. For a secrets auditor, check Read and Read secrets.

Save

Select Create role. The role appears under Custom roles with 0 holders.

Now grant it: from Settings › Members, open a member's ⋯ menu and select Add access, or pick it as their organization role. See Members and invitations.

Edit or delete a custom role

  1. On Settings › Roles, select Edit on the role's row.
  2. Change the checked actions and select Save changes.

Changes apply at once to everyone who holds the role, on every scope it was granted.

To delete a role, open Edit and select Delete role in the Delete role box. You can delete a role only when nobody holds it: change or remove those members and grants first. Deleting can't be undone.

Grant a role on a scope

Grants are managed per person on Settings › Members (⋯ › Add access). The Applies to field offers:

ScopeReaches
Whole organizationEverything
FolderIts subfolders, and every project, environment and service in them
ProjectAll its environments and services
EnvironmentAll services in that environment, for example Storefront · Production
ServiceThat service only

Owner can't be granted on a scope; ownership is organization-wide.

Recipes

GoalOrganization roleExtra grant
A freelancer works only on one clientViewerDeveloper on folder Clients / Acme
A developer may ship staging but not productionViewerDeveloper on environment Storefront · Staging
On-call engineers may restart and roll back, not editViewercustom deployer (Read, Deploy) on the organization
A security reviewer audits secretsViewercustom secrets-auditor (Read, Read secrets) on the organization
A team lead manages people on their own projectDeveloperAdmin on project Booking API
A project manager plans one client's work without seeing serversnoneProject manager on folder Clients / Acme

A grant needs Administer on the scope itself. An Admin on project Booking API can add grants inside that project through the API, but not on other projects. The Members page in the dashboard is for organization Owners and Admins.

Grants from the API

Give a member Developer on one project
curl -X POST https://stack.example.com/api/grants \
  -H "Authorization: Bearer $LOGISTACK_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "userId": "usr_8f2k1",
    "role": "developer",
    "scope": { "kind": "project", "id": "prj_storefront" }
  }'

scope.kind is one of organization, folder, project, environment or service. GET /api/roles lists built-in and custom roles with their actions, and GET /api/grants lists every scoped grant.

Troubleshooting

  • A button is missing or disabled. You don't hold the action it needs on that resource. Ask an Admin to check your grants on Settings › Members.
  • "Denied" entries in the audit log. Someone, or a key, tried an action no grant allowed. Open the entry to see the actor and the resource.
  • A scoped API key gets 403 where its owner succeeds. The key's scopes don't cover that resource. Create a key with the right scope, or use Everything the owner can do.

On this page