Corrige les droits rfm pour les membres et plus

This commit is contained in:
Fred Tempez 2023-12-14 14:43:53 +01:00
parent 2b5b254c88
commit b528f223d5

View File

@ -653,7 +653,7 @@ class user extends common
$fileManager = $this->getInput('profilEditFileManager', helper::FILTER_BOOLEAN);
// Sécurité supplémentaire
if (
$group < self::GROUP_EDITOR
$group < self::GROUP_MEMBER
) {
$fileManager = false;
}
@ -804,7 +804,7 @@ class user extends common
$fileManager = $this->getInput('profilAddFileManager', helper::FILTER_BOOLEAN);
// Sécurité supplémentaire
if (
$group < self::GROUP_EDITOR
$group < self::GROUP_MEMBER
) {
$fileManager = false;
}