forked from ZwiiCMS-Team/ZwiiCampus
Corrige les droits rfm pour les membres et plus
This commit is contained in:
parent
2b5b254c88
commit
b528f223d5
@ -653,7 +653,7 @@ class user extends common
|
|||||||
$fileManager = $this->getInput('profilEditFileManager', helper::FILTER_BOOLEAN);
|
$fileManager = $this->getInput('profilEditFileManager', helper::FILTER_BOOLEAN);
|
||||||
// Sécurité supplémentaire
|
// Sécurité supplémentaire
|
||||||
if (
|
if (
|
||||||
$group < self::GROUP_EDITOR
|
$group < self::GROUP_MEMBER
|
||||||
) {
|
) {
|
||||||
$fileManager = false;
|
$fileManager = false;
|
||||||
}
|
}
|
||||||
@ -804,7 +804,7 @@ class user extends common
|
|||||||
$fileManager = $this->getInput('profilAddFileManager', helper::FILTER_BOOLEAN);
|
$fileManager = $this->getInput('profilAddFileManager', helper::FILTER_BOOLEAN);
|
||||||
// Sécurité supplémentaire
|
// Sécurité supplémentaire
|
||||||
if (
|
if (
|
||||||
$group < self::GROUP_EDITOR
|
$group < self::GROUP_MEMBER
|
||||||
) {
|
) {
|
||||||
$fileManager = false;
|
$fileManager = false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user