Expand description
RBAC (Role-Based Access Control) auth adapter for curator vaults.
This module provides an RBAC implementation of the AuthAdapter trait
for curator vaults. It enforces role-based access control where different
roles have permission to perform different actions.
§Roles
- Curator: Curator-scoped actions, plus allocator-class operations
- Sentinel: Emergency backstop (used for pause and restriction updates)
- Allocator: Can manage allocations and refreshes
- User: Can deposit, withdraw, execute withdrawals
Structs§
- Rbac
Auth - RBAC auth adapter implementation.
- Rbac
Config - RBAC configuration for the vault.
- Role
Assignment - Role assignment for an address.
Enums§
- Role
- Role types for RBAC.
Functions§
- required_
role - Get the required role for an action.