Role Examples
This page provides complete examples of setting up role-based access control.Example 1: Department-Based Access
Your company has HR, Finance, and IT departments. Each should only see their own documents.Step 1: Define Roles
Step 2: Upload Documents with Roles
Step 3: Query with Roles
HR Manager queries:Example 2: Hierarchy-Based Access
Control access based on organizational hierarchy.Roles
Document ACLs
| Document Type | ACL |
|---|---|
| General Info | employee |
| Team Guidelines | manager |
| Strategic Plans | director |
| Board Reports | executive |