Skip to content

Users page

The Users page, at /users, is for admins. It appears in the sidebar only on a server with sign-in. It answers: who can get in, and what can each person do?

There are three fixed roles.

Role May
Admin Everything a member can, plus: manage users, change module configuration, connect for the whole workspace and set up connectors
Member See runs, start runs, decide gates, and connect, test and disconnect their own accounts
Viewer See runs, artifacts and the activity feed. Viewers cannot start a run, decide a gate or connect anything; the buttons are disabled and say why, and the server refuses the request as well

The page lists exactly what each role can do, read from the server, so it cannot drift from what is enforced.

Enter their email and pick a role, then press Add. They sign in with Google using that address, with the role you chose. Nothing is emailed yet, so tell them where to sign in. (Sending an invitation is tracked in issue 3.)

Someone added here appears as Invited until they first sign in, then Active.

  • Role: choose another role in the row. It applies to that person’s next request; they do not have to sign in again.
  • Disable: ends their access at once. Their sessions are removed, they cannot sign in again, and they get no magic link. Their history stays. Enable brings them back with the same role.
  • Remove: only for someone who has never signed in. Anyone who has signed in is disabled instead, so the record of what they did stays.

KNETIK_ADMINS and KNETIK_ALLOWED_USERS still work. They are the bootstrap, and the page shows them under From the environment.

  • An admin listed in KNETIK_ADMINS can always sign in and is always an admin. The page shows them as locked: they can only be changed by editing the environment, so a mistake in the panel can never lock the owner out.
  • A person allowed by KNETIK_ALLOWED_USERS can have their role changed or be disabled here. A role an admin chose is kept across their sign-ins.
  • You cannot change your own role or disable yourself.
  • When no admin is listed in the environment, the last active admin cannot be demoted or disabled.
  • Only admins can use the page or its API (/api/users); everyone else gets a 403.