fn determine_permissions_mode_for_hashing(permissions: &Permissions) -> u32