protected function handlePermissionUpdate(ilECSSetting $server) { if ($this->content_obj->getType() == 'crs') { $GLOBALS['ilLog']->write(__METHOD__ . ': Permission update'); if ($this->content_obj->getType() == 'crs') { $GLOBALS['rbacadmin']->grantPermission($server->getGlobalRole(), ilRbacReview::_getOperationIdsByName(array('join', 'visible')), $this->content_obj->getRefId()); } } }