Check permissions for prestudent menu entry

This commit is contained in:
chfhtw
2026-07-13 13:02:40 +02:00
parent b991bbd9a5
commit d436d8cb20
+3 -1
View File
@@ -80,7 +80,9 @@ class StudVwLib
public function prestudent($path_template, $stg)
{
// TODO(chris): permission check stg
// Check permission
if ($this->getStgFromUrl($stg) === null)
return [];
return [
[