Allowed ADs to manage out of area working groups and upload proceedings for them. Fixes issue #1648. Commit ready for merge.

- Legacy-Id: 11681
This commit is contained in:
Suresh Krishnan 2016-07-16 14:11:55 +00:00
parent 0d044399e5
commit f570ff803d

View file

@ -61,7 +61,7 @@ def get_my_groups(user,conclude=False):
return list()
for group in all_groups:
if group.role_set.filter(person=person,name__in=('chair','secr')):
if group.role_set.filter(person=person,name__in=('chair','secr','ad')):
my_groups.add(group)
continue
if group.parent and group.parent.role_set.filter(person=person,name__in=('ad','chair')):