Development Documentation (main branch) - For stable release docs, see docs.rs/eidetica

validate_permission_bounds

Function validate_permission_bounds 

Source
pub fn validate_permission_bounds(bounds: &PermissionBounds) -> bool
Expand description

Validate that permission bounds are correctly configured

Ensures that:

  • If minimum is specified, it’s not greater than maximum

§Arguments

  • bounds - The permission bounds to validate

§Returns

true if bounds are valid, false otherwise