@@ -162,8 +162,6 @@ public function executeCommand(): void
162162 }
163163
164164 // alter title and description
165- // $tpl->setTitle($wpage_gui->getPageObject()->getTitle());
166- // $tpl->setDescription($this->object->getTitle());
167165 if ($ ilAccess ->checkAccess ("write " , "" , $ this ->object ->getRefId ())) {
168166 $ wpage_gui ->activateMetaDataEditor ($ this ->object , "wpg " , $ wpage_gui ->getId ());
169167 }
@@ -258,6 +256,7 @@ public function executeCommand(): void
258256 break ;
259257
260258 case 'ilrepositoryobjectsearchgui ' :
259+ $ this ->checkPermission ("read " );
261260 $ this ->addHeaderAction ();
262261 $ this ->setSideBlock ();
263262 $ ilTabs ->setTabActive ("wiki_search_results " );
@@ -271,6 +270,7 @@ public function executeCommand(): void
271270 break ;
272271
273272 case 'ilobjnotificationsettingsgui ' :
273+ $ this ->checkPermission ("write " );
274274 $ this ->addHeaderAction ();
275275 $ ilTabs ->activateTab ("settings " );
276276 $ this ->setSettingsSubTabs ("notifications " );
@@ -279,6 +279,7 @@ public function executeCommand(): void
279279 break ;
280280
281281 case 'illtiproviderobjectsettinggui ' :
282+ $ this ->checkPermission ("write " );
282283 $ this ->addHeaderAction ();
283284 $ ilTabs ->activateTab ("settings " );
284285 $ this ->setSettingsSubTabs ("lti_provider " );
0 commit comments