System roles
Two roles exist in every Koalake account by default and cannot be deleted, renamed, or disabled:- Everyone. Every role automatically includes Everyone’s permissions, so anything you grant Everyone applies to every user, and no role can take it away. Grant Everyone as little as possible.
- Owner. The role with full access to everything in your account. It can’t be restricted. The first user account holds it when Koalake is set up, and you can add more users to it. Use it to set up Koalake and create the first roles, not for day-to-day work.
Access levels
When you grant a role access, you pick an access level. Each level includes everything the level below it holds:Create roles
On the Roles page, select Add role and give it a name. A new role starts with what Everyone grants and nothing more, until you add another parent role or grant it more access.Grant access
You can grant access from the data or from the role.Start from the data
In the Data catalog, open the catalog, schema, or table, go to its Access tab and select Add access. Pick the role you want to give access to, pick an access level, then select Save.Start from the role
On the Roles page, open the role, find its Permissions list and select Add access. Pick what the role should have access to, pick an access level, then select Save.Remove access
An access level set directly on a row shows an X next to it in the Managing access window. Select it to remove the level. A row that inherits its level from the catalog above has no X, and hovering over it tells you where the level comes from. Removing a level is not the same as setting No access: removing it lets access fall back to the level set on the catalog or schema above it, while No access is an explicit block on that data.Advanced permissions
Access levels cover most cases. When you need finer control:- Select the three dots next to the catalog, schema or table, then select Edit. The Managing access window opens.
- Turn on Advanced permissions in the bottom left of the window.
Role relationships
Roles can have parent-child relationships. Two labels on the role’s details page show the relationships:- Includes permissions from. The listed role is a parent, and this role inherits from it.
- Permissions included by. The listed role is a child, and it inherits from this role.
Assign users and service accounts
Open the Roles page and select the role. On its Details tab, find Users and select Change. Tick the users and service accounts that should hold the role, then select Save changes. You can add someone to a role only if your own role already has every permission that role gives, so you can’t give anyone more access than you have yourself. Only users with the Owner role can add someone to it.Disable and enable roles
You can disable a role without deleting it. It stops granting access right away and nothing about it is lost, so turning it back on later restores it exactly as you left it. On the Roles page, open the three-dot menu next to a role and select Disable or Enable. Before Koalake disables, enables or deletes a role, or changes its parent roles, it shows what the change does to every role it affects, such as the access they lose. Nothing changes until you confirm. Disabling the role you are working under signs you out. A role can’t be deleted while it still has users or is someone’s default role.What to do next
- How access works: the role model behind all of this, and how your LLM works under it.
- Manage users: add users, help them sign in, reset MFA.
- Access for machines: how scripts and pipelines sign in to Koalake on their own.
