Corrige les droits rfm pour les membres et plus

This commit is contained in:
Fred Tempez 2023-12-14 14:43:51 +01:00
parent 10e6822ad5
commit b590f91534
1 changed files with 2 additions and 2 deletions

View File

@ -653,7 +653,7 @@ class user extends common
$fileManager = $this->getInput('profilEditFileManager', helper::FILTER_BOOLEAN);
$path = $this->getInput('profilEditPath');
if (
$group <= self::GROUP_ADMIN
$group < self::GROUP_MEMBER
&& $fileManager
&& empty($path)
) {
@ -806,7 +806,7 @@ class user extends common
$fileManager = $this->getInput('profilAddFileManager', helper::FILTER_BOOLEAN);
$path = $this->getInput('profilAddPath');
if (
$group <= self::GROUP_ADMIN
$group < self::GROUP_MEMBER
&& $fileManager
&& empty($path)
) {