Members and roles
Who is in your organization and what each person may do.
On this page
What it is
Every person in klickops is a member of an organization. They have exactly one role there. The role decides what they may do in the organization's projects.
There are three roles. That covers almost every case. If you want a fourth role, you usually want to split a project.
| Role | Can | Cannot |
|---|---|---|
| Member | Work in every project: deploy, edit, restart, restore and delete workloads. Also see usage and the plan. | Create or delete projects, manage members, or change the plan |
| Admin | Everything a member can. Also create and delete projects, invite and remove members, manage API tokens and change the plan. | Rename or delete the organization, or manage owners |
| Owner | Everything | nothing |
When you'd use it
- Someone new joins and needs access.
- A contractor should see logs. They shouldn't change production.
- Someone leaves, and their access should end.
Invite somebody
- Go to Members in the organization and choose Invite member.
- Enter their email address and pick a role. Pick the smallest role that lets them do their work. You can raise it later with one click.
- klickops emails the invitation. You can also copy the sign-in link and send it yourself. They see the invitation the next time they sign in with that address. If they have no account yet, they see it right after they create one.
- They accept and are in the organization.
An invitation doesn't give access yet. Only when they accept are they in. Until then they are listed under Pending invitations. You can revoke the invitation there. You get the same answer for every address you invite. That way klickops never reveals whether someone already has an account.
Admins can also add addresses or a domain under Allowed to join, for example @acme.io. When someone signs in with a matching, verified address, they get an invitation as a member. They only join if they accept. You can only add your own company's email domain. Public providers like Gmail don't work.
Accept an invitation
Invitations for you show up under Invitations in the sidebar, with a count. If you don't belong to an organization yet, you find them on the page you see after signing in.
- Accept adds you with the role it names and takes you to the organization.
- Decline removes the invitation. The others only see that you declined.
Signing in never adds you to an organization by itself. An open invitation also doesn't stop you from creating your own organization.
Leave an organization
Under Members, Your membership has a Leave organization button. You lose access to the organization's projects right away. The projects themselves stay as they are. To come back, an admin has to invite you again.
Delete your account
At the bottom of your Account page is the Danger zone with Delete account. Before anything happens, it shows what goes away: your sign-in methods and passkeys, your memberships and your personal API tokens.
Tokens you created for an organization belong to the organization. They keep working. Your organizations keep their projects, billing history and support tickets. Where those showed your name, they show "deleted user" afterwards.
To confirm, you type your email address. Every session signs out right away. One last email confirms the deletion. You can't undo it. If you sign in again with the same address later, you get a new, empty account.
If you are the only owner of an organization, the button is disabled. The organization is listed instead. Delete it first or make another member an owner. In the terminal, use klops account delete <your-email>. With --dry-run you see the list without deleting anything.
Narrowing access to one project
A role applies to the whole organization. A per-project role changes one person's role for a single project. You set it under Members in the project's settings. An example is viewer on production.
The person still sees the other projects. If someone should see only one project, create a separate organization for it.
Use per-project roles sparingly. Many exceptions make access hard to follow. Two organizations are often the clearer answer.
Settings reference
| Setting | Default | What it does |
|---|---|---|
| Role | member | The permission level across the organization. |
| Per-project role | none | admin, editor or viewer on one project. It replaces the organization role there. |
| Invitation | pending | Gives no access until accepted. You can revoke it at any time. |
Limits and gotchas
- Removing someone is immediate. They lose access to the projects right away. Their account keeps working. Anything they started keeps running.
- Only admins create and delete projects. A member works inside the projects that exist. To delete a project, you need admin on that project.
- A per-project role replaces the organization role on that project. This works both up and down. A member set to viewer on production can't deploy there.
- Everyone sees what the organization spends. Usage, Plan and Statements are open to every member. Only admins and owners change the plan.
You can't remove or demote the only owner, and they can't leave. Otherwise nobody could rename or delete the organization. Make someone else an owner first.
Related
- Organizations, projects, workloads: what an organization contains.
- Plans and costs: what the organization pays, which every member can see.