Expand description
Authorization helpers: validate user access to HSM groups and their members.
Statics§
- PA_
ADMIN - Keycloak role name that grants full admin access (bypasses HSM-group scoping checks).
Functions§
- validate_
ansible_ limit_ membership_ access - Validate every xname in a comma-separated
ansible_limit-style string against the caller’s accessible groups. - validate_
group_ members_ access - Like
validate_user_group_members_accessbut with the caller-accessible group list supplied explicitly. - validate_
group_ vec_ access - Pure check that every label in
group_target_vecappears ingroup_available_vec. - validate_
user_ group_ access - Validate that
group_nameis in the set this token can access. - validate_
user_ group_ members_ access - Validate that every xname in
group_members_target_vecis a member of at least one group the token can access. - validate_
user_ group_ vec_ access - Validate that every label in
group_vecis in the set the token can access.