correctif sur gestion des groupes via console admin (fixes #35)
This commit is contained in:
parent
8d1b8db3f4
commit
3b0ac28df9
@ -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');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user