Module authorization

Module authorization 

Source
Expand description

Authorization helpers: validate user access to HSM groups and their members.

Functionsยง

get_groups_names_available
Return the accessible HSM groups for the token; errors if the requested group is not accessible.
validate_target_hsm_members
Validate that every requested xname belongs to a group the token has access to.