diff options
| author | Thomas Hackl <hackl@data-quest.de> | 2022-05-23 11:21:38 +0000 |
|---|---|---|
| committer | Thomas Hackl <hackl@data-quest.de> | 2022-05-23 11:21:38 +0000 |
| commit | e5fec07a498298de2a6642e7802b36a85ff90e91 (patch) | |
| tree | 5895b925af5b95de81dc8255e09eaec8d4e3473c /app | |
| parent | 31fde12bc1454a9ff43288335c10aaf7d7cd1fc5 (diff) | |
Resolve ""Meine Studiengruppen" für Admins sichtbar"
Closes #1097
Merge request studip/studip!653
Diffstat (limited to 'app')
| -rw-r--r-- | app/controllers/studygroup.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/studygroup.php b/app/controllers/studygroup.php index 66b20a3..636e34c 100644 --- a/app/controllers/studygroup.php +++ b/app/controllers/studygroup.php @@ -86,7 +86,7 @@ class StudygroupController extends AuthenticatedController { $sidebar = Sidebar::get(); - if ($GLOBALS['perm']->have_perm('autor')) { + if ($GLOBALS['perm']->have_perm('autor') && !$GLOBALS['perm']->have_perm('admin')) { $actions = new ActionsWidget(); $actions->addLink( _('Neue Studiengruppe anlegen'), |
