Skip to content
Weik.ioDocs
2026.2
Try Weik.io

How memberships work

Weik.io 2026.2

A user's role comes from their membership in a project, so the same user can have a different role in each project.

On this page

A user gets access to a project through a membership, which gives them one role in that project. Without a membership a user has no access to the project, but a platform administrator has access to every project without one.

A user called Anna, the role deployer and the project finance, each in a box of its own, with an arrow from each box into one membership: Anna is a deployer in finance.

A membership gives a user one role in one project. Users and roles, like projects, are defined once for the whole installation.

Several users and projects#

A user can be a member of many projects and have a different role in each one. In this table, each cell with a role is one membership:

Userfinancelogistics
Annadeployerviewer
Villehelpdesknot a member
Mianot a memberadmin

A user has at most one membership in a project, so giving Anna a new role in finance replaces deployer there.

weikio get members finance lists the memberships of a project. weikio describe user anna@example.com lists those of a user. In both, the MAPPED column shows the grants the person got from claim mappings at their last sign-in through an identity provider, or - for none. Projects and access shows how to manage memberships.

Roles#

A platform administrator defines a role once for the whole installation, for use in any project. Each role that comes with Weik.io includes the role above it in the table.

Role What it adds
viewer See definitions, deployments, status, logs, events and entities.
editor Change integrations, kamelets, APIs, API subscriptions, variables and secrets. Operate what’s deployed, such as invoking it and resending events. Read secret values where the environment allows it.
deployer Deploy, promote and roll back, and set the entity store’s type policies.
admin Manage the project’s members and read its audit log, when the membership covers the whole project in every environment.

A platform administrator can add more roles, such as Ville’s helpdesk role. Roles and grants lists each role’s permissions as the verbs the CLI and the API use.

The admin role applies only in its project, so Mia can manage the members of logistics and has no access to finance. Platform administrator is a setting on a user, separate from roles.

If your users sign in through an identity provider, claim mappings can create a membership or add more roles to it. A person has those roles when they sign in through that provider. Their keys from weikio login and the All my access keys they made while signed in that way have the roles too, by default for 30 days after their last sign-in there.

Limiting a membership#

A membership covers the whole project unless you limit it. You can limit it to some environments, and to some integrations and APIs. A membership that lists only integrations covers no APIs, and the other way round.

For example, this membership gives Ville the helpdesk role only in production and only for two integrations:

Terminal
$ weikio member add finance ville@example.com --role helpdesk --env production --integrations erp-invoice-export,nightly-payroll
You see
Target: https://hub.example, project finance (argument), user ville@example.com
member finance/ville@example.com created (role helpdesk; environments production; integrations erp-invoice-export, nightly-payroll; revision 4105)

If you give a limit flag an empty value, the command fails before it sends anything, as here with --integrations:

Terminal
$ weikio member add finance ville@example.com --role helpdesk --env production --integrations ''
You see
error: --integrations lists no integration. Give it a list of integrations, or --integrations '*' --apis '*' for the whole project.

The role of a membership that lists integrations or APIs applies to their definitions and deployments, and to their telemetry. To give a user an API and the integration behind it, list both by name.

Every member can see what the project shares, which is its kamelets and its variables and secrets. Only a membership that lists no integrations and no APIs can change them. To change a project’s kamelet, that membership must also cover every environment.

A limit to environments applies only to what belongs to an environment, such as deployments and their logs, and the values set for that environment. An integration’s definition belongs to the project, so an editor limited to production can still change it.

Environments and gateways belong to the whole installation. A member sees the ones their membership reaches.

Grants and API keys#

A user’s membership gives them one role in one project with its limits. In the CLI and the admin UI this is a grant, as in --grant and the Grant project access dialog.

An Only these API key has separate grants, which can give less than its owner’s membership. For example, a deployer can create a key with the role viewer in the same project. Roles from claim mappings don’t count on an Only these key. An All my access key can do everything its owner can, including what claim mappings give them.

A key never has more rights than its owner, so when you lower a user’s role, their keys can do less too. API keys shows how to create one.

When something is deleted#

  • Deleting a user deletes their memberships and API keys.
  • Deleting a project deletes its memberships with everything else in it.
  • Deleting a custom role leaves the memberships that use it, which then give nothing through that role.

A new custom role with a deleted role’s name gives those memberships nothing. You can’t delete the four roles that come with Weik.io.

Sign in to the live demo

Sign in with the shared viewer account. It can open every screen of the example projects but can't change anything.

E-mail
viewer@demo.weik.io
Password
try-weikio-live-demo
Open the live demo