add IAB executive director to announcement access list
- Legacy-Id: 5603
This commit is contained in:
parent
f04d424e6a
commit
17dbec6d0c
|
@ -32,7 +32,8 @@ FROM_LIST = ('IETF Secretariat <ietf-secretariat@ietf.org>',
|
|||
'The IETF Trust <tme@multicasttech.com>',
|
||||
'RSOC Chair <rsoc-chair@iab.org>',
|
||||
'ISOC Board of Trustees <eburger@standardstrack.com>',
|
||||
'RFC Series Editor <rse@rfc-editor.org>')
|
||||
'RFC Series Editor <rse@rfc-editor.org>',
|
||||
'IAB Executive Director <execd@iab.org>')
|
||||
|
||||
TO_LIST = ('IETF Announcement List <ietf-announce@ietf.org>',
|
||||
'I-D Announcement List <i-d-announce@ietf.org>',
|
||||
|
@ -106,6 +107,10 @@ def get_from_choices(user):
|
|||
group__acronym='rse',
|
||||
name="chair"):
|
||||
f = (FROM_LIST[15],)
|
||||
elif Role.objects.filter(person=person,
|
||||
group__acronym='iab',
|
||||
name='execdir'):
|
||||
f = (FROM_LIST[6],FROM_LIST[16])
|
||||
return zip(f,f)
|
||||
|
||||
def get_to_choices():
|
||||
|
|
|
@ -34,6 +34,10 @@ def check_access(user):
|
|||
group__type="ietf",
|
||||
person=person):
|
||||
return True
|
||||
if Role.objects.filter(person=person,
|
||||
group__acronym='iab',
|
||||
name='execdir'):
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
|
|
Loading…
Reference in a new issue