Role-based access control (RBAC)
Your role decides what you can access in Koalake. Each role is a set of permissions: which data you can read or change, and which other parts of Koalake you can use, such as projects.Row-level security (RLS)
A role can also limit which rows of a table you see. For example, in the demo data the Sales NL role sees only Dutch customers, and Sales DE only German ones. That way, both teams can use the same . Row rules work only when Enforce role policies is on, under System settings › Data access › Row-level security. It’s off on a new account and already on in the free trial.Switching roles
You can hold more than one role. For instance, if you work for both Finance and Management, you might hold one for each. Only one role is active at a time. When you sign in, your default role is active. You can switch to another role you hold whenever the task changes, and what you see updates immediately. You switch roles in two places: Koalake Desktop and the Portal. Switching in one doesn’t switch the other.- Koalake Desktop: the role your LLM works under in Claude Code or Codex, and the role your data apps open under. To switch, click your role at the top right of Koalake Desktop and choose another.
- Koalake Portal: the role you work under in the Portal. To switch, open the role list at the bottom left of the Portal and click the role. To change your default role, hover over a role and click Make default.
Create a role hierarchy
Roles can build on top of each other. A parent role has a base set of permissions, such as Read on the sales data. A child role has access to everything its parent has, plus any permissions you add on top. Read more in Assign roles and permissions.What to do next
- Assign roles and permissions: create roles, set what they allow, and assign them to people.
- Access for machines: how scripts and pipelines sign in to Koalake on their own.
