mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 00:12:15 +00:00
Check permissions for prestudent menu entry
This commit is contained in:
@@ -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 [
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user