Functions in permission

grp_ancestors(integer)

grp_ancestors_distance(distance integer)

grp_combined_ancestors(integer, integer)

grp_common_ancestors(integer, integer)

grp_descendants(integer)

grp_descendants_distance(distance integer)

grp_full_path(integer)

grp_proximity(integer, integer)

usr_can_grant_perm(target_ou integer, tperm text, iuser integer)

usr_has_home_perm(target_ou integer, tperm text, iuser integer)

usr_has_object_perm(integer, text, text, text)

usr_has_object_perm(target_ou integer, obj_id text, obj_type text, tperm text, iuser integer)

usr_has_perm(integer, text, integer)

usr_has_perm_at(perm_code integer, user_id text)

usr_has_perm_at_all(perm_code integer, user_id text)

usr_has_perm_at_all_nd(perm_code integer, user_id text)

usr_has_perm_at_nd(perm_code integer, user_id text)

usr_has_work_perm(target_ou integer, tperm text, iuser integer)

usr_perms(integer)