# Roles & Permissions

> Available: Granular role-based access control for Admin, Manager and Employee.

Canonical: https://www.ashr.work/modules/rbac
Publisher: ASHR.work is a product of Demystify Systems LLP.

**Status:** Available

Granular role-based access control for Admin, Manager and Employee.

Admin, Manager and Employee roles — enforced at the database, not just hidden in the UI.

## What it does today

- Admin / Manager / Employee roles
- Row-level security tenant isolation on tenant data
- Tenant derived from the authenticated session, never the URL
- Audit logging on sensitive actions

## Use cases

- Least-privilege access
- Finance-only payroll access
- Manager-scoped visibility
- Admin delegation

## Frequently asked questions

### What roles are available?

Admin, manager and employee, plus specialised roles like a finance role that unlocks payroll without full admin rights. Access is least-privilege by default and every mutating action is audit-logged.

### Is data isolated between tenants?

Yes — every tenant-scoped table enforces row-level security keyed to the signed-in user’s organisation, so cross-tenant access is impossible by construction.
