Compare commits
2 Commits
75925d4969
...
3b6095cec7
Author | SHA1 | Date |
---|---|---|
Arnaud Fornerot | 3b6095cec7 | |
afornerot | 04272afa3d |
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue