diff --git a/lib/VersionHelper.php b/lib/VersionHelper.php index 40911215..254f281c 100644 --- a/lib/VersionHelper.php +++ b/lib/VersionHelper.php @@ -104,7 +104,9 @@ class VersionHelper50 implements VersionHelperInterface { function addMainNavigation(\Navigation $navigation) { - if (\Navigation::hasItem('/contents')) { + global $user; + + if (\Navigation::hasItem('/contents') && $user->perms != 'admin') { \Navigation::addItem('/contents/opencast', $navigation); } }