46 $this->listsPermission < \CListPermissions::CAN_READ
48 \CIBlockRights::userHasRightTo(
49 $this->rightParam->getIblockId(),
50 $this->rightParam->getIblockId(),
56 $this->errorCollection->setError(
new Error(
'Access denied', self::ACCESS_DENIED));
73 $this->rightParam->getIblockId() &&
74 $this->listsPermission < \CListPermissions::IS_ADMIN &&
75 !\CIBlockRights::userHasRightTo(
76 $this->rightParam->getIblockId(), $this->rightParam->getIblockId(),
"iblock_edit")
79 !$this->rightParam->getIblockId() && $this->listsPermission < \CListPermissions::IS_ADMIN
83 $this->errorCollection->setError(
new Error(
"Access denied", self::ACCESS_DENIED));