From 3b0ac28df9fefdb08501c3374d7158111c5eaccb Mon Sep 17 00:00:00 2001 From: afornerot Date: Fri, 8 Nov 2019 16:09:10 +0100 Subject: [PATCH] correctif sur gestion des groupes via console admin (fixes #35) --- .../src/Cadoles/CoreBundle/Controller/GroupController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ninegate-1.0/src/Cadoles/CoreBundle/Controller/GroupController.php b/src/ninegate-1.0/src/Cadoles/CoreBundle/Controller/GroupController.php index 80199359..8693d5d7 100644 --- a/src/ninegate-1.0/src/Cadoles/CoreBundle/Controller/GroupController.php +++ b/src/ninegate-1.0/src/Cadoles/CoreBundle/Controller/GroupController.php @@ -662,7 +662,7 @@ class GroupController extends Controller // Permission $permgroup=$this->get('session')->get('permgroup'); - if($access="user") { + if($access=="user") { if($permgroup=="NO_BODY") throw $this->createNotFoundException('Permission denied'); if($permgroup=="ROLE_ANIM" && $this->isGranted('ROLE_USER')) throw $this->createNotFoundException('Permission denied'); }