**Epic**: RBAC Implementation (Wave 2) **Bucket**: Admin Core ### π Description Validate role inputs. ### π οΈ Implementation Guide 1. Check role bounds (non-zero). 2. Ensure it's a valid bitmask. 3. Revert with `InvalidRole` if bad input. ### β Acceptance Criteria - [ ] Code compiles and adheres to Soroban/Rust/TypeScript best practices. - [ ] Unit tests cover both happy paths and expected error states. - [ ] All CI/CD pipelines pass successfully.
Epic: RBAC Implementation (Wave 2)
Bucket: Admin Core
π Description
Validate role inputs.
π οΈ Implementation Guide
InvalidRoleif bad input.β Acceptance Criteria