Merged in [10413] from rcross@amsl.com:

Update proceedings permissions again.
 - Legacy-Id: 10416
Note: SVN reference [10413] has been migrated to Git commit 3f1b281a74
This commit is contained in:
Henrik Levkowetz 2015-11-04 04:51:42 +00:00
parent 0117af5657
commit 471ed32536

View file

@ -80,7 +80,9 @@ def check_permissions(func):
# if session is plenary allow ietf/iab chairs
if session and get_timeslot(session).type.slug=='plenary':
if login.role_set.filter(name='chair',group__acronym__in=('iesg','iab')):
chair = login.role_set.filter(name='chair',group__acronym__in=('iesg','iab','ietf-trust','iaoc'))
admdir = login.role_set.filter(name='admdir',group__acronym='ietf')
if chair or admdir:
return func(request, *args, **kwargs)
# if we get here access is denied