For the complete documentation index, see llms.txt. This page is also available as Markdown.

Roles and RBAC

Portainer-Run has no permissions model of its own. Every access decision it makes is derived from Portainer, at the moment a user authenticates, and re-derived on every request. This page covers exactly how that works.

Authentication

Users log into Portainer-Run on the same URL as Portainer, with their Portainer credentials. There's no separate Portainer-Run account to create, no duplicate user store, and no independent permissions model to keep in sync. The token is the identity, and it carries the user's Portainer role with it.

User access determines cluster visibility

What a user can see is governed by their configured access in Portainer:

  • Environments are only visible when that user (or a team the user belongs to) has been explicitly given access.

  • Namespaces work the same way - a user or team needs to be given access to a namespace in order for it to appear as an option under Project Spaces when deploying.

A user only ever sees the environments and namespaces their Portainer account can already reach. Portainer-Run doesn't expand access beyond what Portainer already grants. It's a narrower, friendlier surface onto the same permission boundary.

Admin vs. non-admin

Portainer-Run derives its own roles from Portainer's: a user with Role 1 (admin) in Portainer is an admin in Portainer-Run. There's nothing to configure separately.

Capability
Admin
Non-admin

See the Admin navigation section

Yes

No

View or manage Cluster Readiness

Yes

No. Sees a notice on Applications if environments have been hidden

Enable or disable environments

Yes

No

Create personal Git targets

Yes

Yes

Mark a Git target as shared

Yes

No

Edit or delete any Git target, including shared ones

Yes

Only their own

Use a shared Git target in a deploy flow

Yes

Yes, read-only: can Test and use it, can't edit or delete

See "admin" badge next to their username

Yes

No

Everything else, including Applications and Deploy, behaves the same for admins and non-admins alike, scoped only by what their token can reach in the underlying cluster.

In Portainer, give each Portainer-Run user the Standard user role on a namespace of their own, with a resource quota. The Operator and Namespace Operator roles can only restart and scale apps; they can't deploy or edit them. Where a user can view apps but not change them, Portainer-Run says so and points them to their admin for deploy or edit access to that project space.

How this plays out through MCP

The MCP endpoint enforces exactly the same boundary as the browser UI. A token authenticated over MCP sees the same environments (list_environments excludes anything disabled via Cluster Readiness), the same namespaces, and the same Git targets (list_git_targets returns the caller's own targets plus any shared ones) that the same user would see logging into the UI directly. There's no separate, looser permission surface for AI coding tools; governance travels with the token, not the client.

Why this matters

This is the core of Portainer-Run's governance model: it doesn't introduce a new place to define who can do what. Every RBAC decision your Portainer administrators have already made, including who can reach which environments, namespaces, and clusters, is inherited automatically and enforced identically, whether the user is clicking through the Applications page, filling in the Vibe Deploy form, or deploying from an AI coding tool over MCP. There's exactly one place to manage access, and it's the place your platform team already manages it today.

Last updated

Was this helpful?