_sCoverClass = 'bx-base-group-cover-wrapper ' . $this->_oModule->getName() . '_cover'; } protected function _processPermissionsCheck () { $CNF = &$this->_oModule->_oConfig->CNF; $oPrivacy = BxDolPrivacy::getObjectInstance($CNF['OBJECT_PRIVACY_VIEW']); $mixedAllowView = $this->_oModule->checkAllowedView($this->_aContentInfo); if (!$oPrivacy->isPartiallyVisible($this->_aContentInfo[$CNF['FIELD_ALLOW_VIEW_TO']]) && CHECK_ACTION_RESULT_ALLOWED !== ($sMsg = $mixedAllowView)) { $this->_oTemplate->displayAccessDenied($sMsg); exit; } elseif ($oPrivacy->isPartiallyVisible($this->_aContentInfo[$CNF['FIELD_ALLOW_VIEW_TO']]) && $CNF['OBJECT_PAGE_VIEW_ENTRY'] == $this->_sObject && CHECK_ACTION_RESULT_ALLOWED !== $mixedAllowView) { // replace current page with different set of blocks $aObject = BxDolPageQuery::getPageObject($CNF['OBJECT_PAGE_VIEW_ENTRY_CLOSED']); $this->_sObject = $aObject['object']; $this->_aObject = $aObject; $this->_oQuery = new BxDolPageQuery($this->_aObject); } $this->_oModule->checkAllowedView($this->_aContentInfo, true); } } /** @} */