partage d'event uniquement sur les groupes gestionnaire
This commit is contained in:
parent
4aa766759c
commit
04272afa3d
|
@ -35,8 +35,10 @@ class CalendareventShareType extends AbstractType
|
|||
->where('g.fgcanshare=:fgcanshare')
|
||||
->andWhere('g=ug.group')
|
||||
->andWhere('ug.user=:user')
|
||||
->andWhere('ug.rolegroup>=:role')
|
||||
->setParameter('fgcanshare',true)
|
||||
->setParameter('user',$user);
|
||||
->setParameter('user',$user)
|
||||
->setParameter('role',90);
|
||||
},
|
||||
'choice_label' => 'label',
|
||||
'multiple' => true,
|
||||
|
|
Loading…
Reference in New Issue