Skip to content

Commit bb73acc

Browse files
[Survey] fix: Handle non auth access to Survey (#11806)
1 parent 6c76d50 commit bb73acc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/ILIAS/Survey/classes/class.ilObjSurveyGUI.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ public function executeCommand(): void
308308

309309
protected function noPermission(): void
310310
{
311-
throw new ilObjectException($this->lng->txt("permission_denied"));
311+
$this->checkPermission("read");
312312
}
313313

314314
protected function addToNavigationHistory(): void

0 commit comments

Comments
 (0)