@@ -183,8 +183,6 @@ public function executeCommand(): void
183183 }
184184
185185 // alter title and description
186- // $tpl->setTitle($wpage_gui->getPageObject()->getTitle());
187- // $tpl->setDescription($this->object->getTitle());
188186 if ($ ilAccess ->checkAccess ("write " , "" , $ this ->object ->getRefId ())) {
189187 $ wpage_gui ->activateMetaDataEditor ($ this ->object , "wpg " , $ wpage_gui ->getId ());
190188 }
@@ -279,6 +277,7 @@ public function executeCommand(): void
279277 break ;
280278
281279 case 'ilrepositoryobjectsearchgui ' :
280+ $ this ->checkPermission ("read " );
282281 $ this ->addHeaderAction ();
283282 $ this ->setSideBlock ();
284283 $ ilTabs ->setTabActive ("wiki_search_results " );
@@ -294,6 +293,7 @@ public function executeCommand(): void
294293 break ;
295294
296295 case 'ilobjnotificationsettingsgui ' :
296+ $ this ->checkPermission ("write " );
297297 $ this ->addHeaderAction ();
298298 $ ilTabs ->activateTab ("settings " );
299299 $ this ->setSettingsSubTabs ("notifications " );
@@ -302,6 +302,7 @@ public function executeCommand(): void
302302 break ;
303303
304304 case 'illtiproviderobjectsettinggui ' :
305+ $ this ->checkPermission ("write " );
305306 $ this ->addHeaderAction ();
306307 $ ilTabs ->activateTab ("settings " );
307308 $ this ->setSettingsSubTabs ("lti_provider " );
0 commit comments