Skip to main content

Module rbac

Module rbac 

Source
Expand description

Role-Based Access Control (RBAC) for the REST API.

Defines roles, permissions, and authorization logic. Roles are hierarchical:

  • Admin: full access to all operations
  • Operator: can generate data and manage jobs, but cannot manage API keys
  • Viewer: read-only access to jobs, config, and metrics

Structs§

RbacConfig
Configuration for the RBAC subsystem.
RolePermissions
Resolves whether a given role has a specific permission.

Enums§

Permission
Fine-grained permissions that can be checked against a role.
Role
User roles for access control.