From 5fdcfdd7bd6dbeb0d68349c452db44a23829e578 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Wed, 28 Jun 2023 18:12:37 +0200 Subject: [PATCH] =?UTF-8?q?NOuveau=20mod=C3=A8le=20de=20profil=20qui=20com?= =?UTF-8?q?mence=20=C3=A0=201=20et=20non=200?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/module/install/ressource/defaultdata.php | 8 ++++---- core/module/user/user.php | 2 -- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/core/module/install/ressource/defaultdata.php b/core/module/install/ressource/defaultdata.php index bd32b32c..32d8984d 100644 --- a/core/module/install/ressource/defaultdata.php +++ b/core/module/install/ressource/defaultdata.php @@ -309,7 +309,7 @@ class init extends common 'comment' => 'Accède au site', ], '1' => [ - '0' => [ + '1' => [ 'name' => 'Membre simple', 'readonly' => false, 'comment' => 'Accède aux pages réservées', @@ -386,7 +386,7 @@ class init extends common 'config' => false, ] ], - '1' => [ + '2' => [ 'name' => 'Membre', 'readonly' => false, 'comment' => 'Accède aux pages réservées et à un dossier partagé', @@ -468,7 +468,7 @@ class init extends common ], ], '2' => [ - '0' => [ + '1' => [ 'name' => 'Modérateur', 'readonly' => false, 'comment' => 'Edition des pages', @@ -546,7 +546,7 @@ class init extends common 'config' => true, ] ], - '1' => [ + '2' => [ 'name' => 'Editeur avec gestion des fichiers', 'readonly' => false, 'comment' => 'Edition des pages', diff --git a/core/module/user/user.php b/core/module/user/user.php index eb1f0220..14dc9db9 100644 --- a/core/module/user/user.php +++ b/core/module/user/user.php @@ -542,8 +542,6 @@ class user extends common } // Soumission du formulaire - var_dump( $this->getInput('profilEditGroup',helper::FILTER_STRING_LONG) ); - var_dump( $this->getInput('profilEditProfil',helper::FILTER_STRING_LONG) ); if ($this->isPost()) { $this->setData([ 'profil',