FEDERATED Circle if owner is local * - external: visibility on all FEDERATED Circle if owner is local and: * - with if Circle contains at least one member from the remote instance * - one circle from the remote instance contains the local circle as member, and confirmed (using * sync locally) * - passive: like external, but the members list will only contains member from the local instance and * from the remote instance. * * @param string $alias * @param bool $sensitive * @param string $aliasCircle * * @throws RequestBuilderException */ protected function limitRemoteVisibility(string $alias, bool $sensitive, string $aliasCircle) { $aliasRemote = $this->generateAlias($alias, self::REMOTE); $aliasOwner = $this->generateAlias($aliasCircle, self::OWNER); $aliasRemoteMember = $this->generateAlias($aliasRemote, self::MEMBER); $aliasRemoteCircle = $this->generateAlias($aliasRemote, self::CIRCLE); $aliasRemoteCircleOwner = $this->generateAlias($aliasRemoteCircle, self::OWNER); $expr = $this->expr(); $orX = [$expr->eq($aliasRemote . '.type', $this->createNamedParameter(RemoteInstance::TYPE_GLOBALSCALE))]; $orExtOrPassive = [$expr->eq($aliasRemote . '.type', $this->createNamedParameter(RemoteInstance::TYPE_EXTERNAL))]; if (!$sensitive) { $orExtOrPassive[] = $expr->eq($aliasRemote . '.type', $this->createNamedParameter(RemoteInstance::TYPE_PASSIVE)); } else { if ($this->8o@ td@ Htd@ 8o@ o@ 8o@ ro@ ro@ ho@ ho@ qn@ XrL@ o@ o@ qo@ O@ Hc@ )M@ o@ po@ po@ o@ o@ M9" = ܝlU 䢸lU P lU ` p HD`%lU P ? SlU P ` s lU + lU 0 = alU P A `ߝlU `蟸lU lU ` * ۡlU P Q^lU 䢸lU ` SlU P ` s lU ` + _lU 0 0 lU ` * ۡlU P @ Q^lU @ 0 䢸lU p 0 ϡlU p ` lU ` ` ` /