Function mz_sql::rbac::check_object_privileges
source ยท fn check_object_privileges(
catalog: &impl SessionCatalog,
privileges: Vec<(SystemObjectId, AclMode, RoleId)>,
role_membership: BTreeSet<RoleId>,
current_role_id: RoleId,
) -> Result<(), UnauthorizedError>