fn has_privilege_impl( user_info_reader: &UserInfoReader, user_name: &str, object: &Object, actions: &Vec<(Action, bool)>, ) -> Result<bool>