Skip to content

Commit dd2b49b

Browse files
committed
Merged in [11037] from rcross@amsl.com:
Grant Bob Hinden announcement tool access. - Legacy-Id: 11067 Note: SVN reference [11037] has been migrated to Git commit 5c06843
2 parents 9f90441 + 5c06843 commit dd2b49b

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

ietf/secr/announcement/forms.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
'The IAOC <tobias.gondrom@gondrom.org>',
3131
'The IETF Trust <ietf-trust@ietf.org>',
3232
'RSOC Chair <rsoc-chair@iab.org>',
33-
'ISOC Board of Trustees <eburger@standardstrack.com>',
33+
'ISOC Board of Trustees <bob.hinden@gmail.com>',
3434
'RFC Series Editor <rse@rfc-editor.org>',
3535
'IAB Executive Administrative Manager <execd@iab.org>',
3636
'IETF Mentoring Program <mentoring@ietf.org>',
@@ -54,6 +54,7 @@ def get_from_choices(user):
5454
leadership chairs and other entities.
5555
'''
5656
person = user.person
57+
f = []
5758
if has_role(user,'Secretariat'):
5859
f = FROM_LIST
5960
elif has_role(user,'IETF Chair'):
@@ -87,6 +88,10 @@ def get_from_choices(user):
8788
group__acronym='isoc',
8889
name="ceo"):
8990
f = (FROM_LIST[18],)
91+
elif Role.objects.filter(person=person,
92+
group__acronym='isocbot',
93+
name="chair"):
94+
f = (FROM_LIST[14],)
9095
elif Role.objects.filter(person=person,
9196
group__acronym='ietf-trust',
9297
name="chair"):

ietf/secr/announcement/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def check_access(user):
1919
the Announcement app.
2020
'''
2121
person = user.person
22-
groups_with_access = ("iab", "rsoc", "ietf", "iaoc", "rse", "mentor","ietf-trust")
22+
groups_with_access = ("iab", "isoc", "isocbot", "rsoc", "ietf", "iaoc", "rse", "mentor","ietf-trust")
2323
if Role.objects.filter(person=person,
2424
group__acronym__in=groups_with_access,
2525
name="chair") or has_role(user, ["Secretariat","IAD"]):
@@ -54,7 +54,7 @@ def main(request):
5454
and send.
5555
'''
5656
if not check_access(request.user):
57-
return HttpResponseForbidden('Restricted to: Secretariat, IAD, or chair of IETF, IAB, RSOC, RSE, IAOC, NomCom.')
57+
return HttpResponseForbidden('Restricted to: Secretariat, IAD, or chair of IETF, IAB, RSOC, RSE, IAOC, ISOC, NomCom.')
5858

5959
form = AnnounceForm(request.POST or None,user=request.user)
6060

ready-for-merge

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
# --- Add entries at the top ---
99

10+
/personal/housley/6.18.2.dev0@11064
11+
1012
/branch/iola/community-list-cleanup-r10639@10718
1113
/personal/housley/v6.14.2.dev0@10839
1214

0 commit comments

Comments
 (0)