pub trait BatchOperations {
// Required methods
fn batch_check_permissions(
&self,
checks: Vec<BatchPermissionCheck>,
) -> Result<BatchResult<bool>, Error>;
fn batch_role_operations(
&mut self,
operations: Vec<BatchRoleAssignment>,
) -> Result<BatchResult<()>, Error>;
}Expand description
Extension trait for RoleSystem to support batch operations
Required Methods§
Sourcefn batch_check_permissions(
&self,
checks: Vec<BatchPermissionCheck>,
) -> Result<BatchResult<bool>, Error>
fn batch_check_permissions( &self, checks: Vec<BatchPermissionCheck>, ) -> Result<BatchResult<bool>, Error>
Perform batch permission checks
Sourcefn batch_role_operations(
&mut self,
operations: Vec<BatchRoleAssignment>,
) -> Result<BatchResult<()>, Error>
fn batch_role_operations( &mut self, operations: Vec<BatchRoleAssignment>, ) -> Result<BatchResult<()>, Error>
Perform batch role assignments and revocations (requires mutable access)