Merge branch 'master' into dist/envole/6/master

This commit is contained in:
Arnaud Fornerot 2021-03-26 10:40:39 +01:00
commit 3b6095cec7
1 changed files with 3 additions and 1 deletions

View File

@ -35,8 +35,10 @@ class CalendareventShareType extends AbstractType
->where('g.fgcanshare=:fgcanshare') ->where('g.fgcanshare=:fgcanshare')
->andWhere('g=ug.group') ->andWhere('g=ug.group')
->andWhere('ug.user=:user') ->andWhere('ug.user=:user')
->andWhere('ug.rolegroup>=:role')
->setParameter('fgcanshare',true) ->setParameter('fgcanshare',true)
->setParameter('user',$user); ->setParameter('user',$user)
->setParameter('role',90);
}, },
'choice_label' => 'label', 'choice_label' => 'label',
'multiple' => true, 'multiple' => true,