widget chat non accessible sur les pages perso (ref #193)

This commit is contained in:
afornerot 2020-07-15 16:54:28 +02:00
parent 2119a68368
commit 01fd5f297f
1 changed files with 1 additions and 1 deletions

View File

@ -1241,7 +1241,7 @@ class InitDataCommand extends ContainerAwareCommand
$entityWidget->setAutoajust(true); $entityWidget->setAutoajust(true);
$entityWidget->setBorder(false); $entityWidget->setBorder(false);
$entityWidget->setOpened(true); $entityWidget->setOpened(true);
$entityWidget->setAccess(["config","user","group"]); $entityWidget->setAccess(["config","group"]);
$parameter = json_decode('{"fields": []}'); $parameter = json_decode('{"fields": []}');
$entityWidget->setParameter($parameter); $entityWidget->setParameter($parameter);
$em->persist($entityWidget); $em->persist($entityWidget);