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

View File

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