Skip to content

Owner and Maintainer

Every project has an Owner and can have any number of Maintainers. The two roles decide who can choose any run identity, who assigns authority, and who can change code that has no narrower identity.


Owner

Every project has exactly one Owner: the account that created it. The role is named "Owner".

  • Nobody else can be given the Owner role, and nobody can create or assign an admin role.
  • Nobody can demote, disable or remove the Owner. Maintainers can't either.
  • Owner-only screens and actions stay with the Owner.

The dashboard says, in member management:

The Owner is the project's creator. Nobody else can be given the Owner role, and nobody can demote or remove the Owner.


Maintainer

Maintainer is a system role in every project. It holds one permission, maintainer, and many users can have it.

A Maintainer can do everything except Owner-only screens and actions: billing, project settings, workspaces, and assigning roles that carry admin or maintainer. The dashboard says:

A Maintainer can do everything except Owner-only screens and actions (billing, project settings, workspaces, assigning roles that carry admin or maintainer). Only the Owner assigns the Maintainer role.

In practice a Maintainer:

  • passes every permission check except the Owner-only ones and Kortex's own permissions (see Kortex access);
  • may choose any run identity except admin roles;
  • can change code that has no run_as, which runs as Maintainer;
  • can view and change provider settings and create or delete global env groups.

maintainer is matched exactly. A permission pattern that happens to match it doesn't count.

Only the Owner assigns it

Only the Owner assigns or takes away the Maintainer role, by inviting a user with it, editing a member's roles or removing the member. The invite and edit screens show this to everyone else:

Only the Owner can assign the Maintainer role.

A Maintainer can't make anyone a Maintainer or the Owner. These are refused:

  • Adding admin, maintainer, or a pattern that matches either to a role, a role assignment or an API user's permissions.
  • Creating or assigning an admin role.
  • Editing or deleting the Owner and Maintainer roles.

Refusals

403 Owner required

An action that is the Owner's alone is refused with 403 and the message:

{
  "status": false,
  "code": 1001,
  "message": "Owner required: only the Owner may do this."
}

Where the dashboard shows the refusal, it reads:

Only the Owner may do this. Ask the Owner to do it for you.

The fix: ask the Owner. A disabled control for an Owner-only action says why.

Authority permissions

Role and API-user edits that add admin or maintainer are refused with 403:

The admin and maintainer permissions can't be granted, directly or through a pattern that matches them. Only the Owner assigns the Maintainer role.

Creating or assigning an admin role is refused with 403:

An admin role can't be created or assigned. A project has one admin, its Owner.

API-user credentials

Issuing or rotating an API user's credentials needs membership of every role the API user has. The Owner and Maintainers pass. See ptkl api-users.


Kortex access

Kortex access for people, API users, roles and Forge apps is managed by the Owner and by Maintainers who were granted protokol-kortex manage::users. The maintainer permission doesn't carry Kortex permissions: a Maintainer needs them granted like any member. In the Kortex access screen:

  • The Owner always has every agent, as does code running as Maintainer.
  • A Maintainer person needs a record like any member.
  • An identity with no record gets no agents. Add a record to give it some.
  • On a plan without assignable users, every identity uses every agent and these records are not checked.

Without that permission the dashboard says: "Changing Kortex access needs protokol-kortex manage::users. Ask the Owner to grant it to you."

How workflows use this: Kortex nodes and the run identity.


See also