diff options
| author | Thomas Hackl <hackl@data-quest.de> | 2026-03-23 15:01:15 +0100 |
|---|---|---|
| committer | Thomas Hackl <hackl@data-quest.de> | 2026-03-23 15:01:15 +0100 |
| commit | 39810d1e94b1eeb7959984c8b8cf430590133553 (patch) | |
| tree | 12dbb2af73bab53e942b20131e2a2b2b89f7fc21 | |
| parent | d14dc152074dca849decb54e649be00a389868f5 (diff) | |
check for local permissionissue-6392
| -rw-r--r-- | lib/classes/Context.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/classes/Context.php b/lib/classes/Context.php index 562d612..b6c9369 100644 --- a/lib/classes/Context.php +++ b/lib/classes/Context.php @@ -244,6 +244,8 @@ class Context ); header('Location: ' . $url); die; + } else if (!$GLOBALS['perm']->get_studip_perm($context->id)) { + throw new AccessDeniedException(); } } } |
