1.4.22 Autorise l'icône RFM pour les éditeurs

This commit is contained in:
Fred Tempez 2024-02-07 18:39:58 +01:00
parent ac28fe496f
commit 01d6300d90

View File

@ -1055,12 +1055,8 @@ class layout extends common
$rightItems = ''; $rightItems = '';
if ( if (
( (
// ZwiiCampus ------ $this->getUser('group') === self::GROUP_MEMBER
self::$siteContent !== 'home'
// ZwiiCampus ------
&& $this->getUser('group') >= self::GROUP_MEMBER
&& $this->getUser('permission', 'filemanager') && $this->getUser('permission', 'filemanager')
) )
|| $this->getUser('group') == self::GROUP_ADMIN || $this->getUser('group') == self::GROUP_ADMIN
) { ) {