Skip to content

Commit 9e0c178

Browse files
committed
Merged in [9143] from rcross@amsl.com:
Add AG Secretary to Proceedings authorized roles. - Legacy-Id: 9152 Note: SVN reference [9143] has been migrated to Git commit 096bd5e
2 parents 2263c87 + 096bd5e commit 9e0c178

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

ietf/ietfauth/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def has_role(user, role_names, *args, **kwargs):
5858
"WG Secretary": Q(person=person,name="secr", group__type="wg", group__state__in=["active","bof", "proposed"]),
5959
"RG Chair": Q(person=person,name="chair", group__type="rg", group__state__in=["active","proposed"]),
6060
"RG Secretary": Q(person=person,name="secr", group__type="rg", group__state__in=["active","proposed"]),
61+
"AG Secretary": Q(person=person,name="secr", group__type="ag", group__state__in=["active"]),
6162
"Team Chair": Q(person=person,name="chair", group__type="team", group__state="active"),
6263
"Nomcom Chair": Q(person=person, name="chair", group__type="nomcom", group__state="active", group__acronym__icontains=kwargs.get('year', '0000')),
6364
"Nomcom Advisor": Q(person=person, name="advisor", group__type="nomcom", group__state="active", group__acronym__icontains=kwargs.get('year', '0000')),

ietf/secr/proceedings/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
# -------------------------------------------------
3636
# Globals
3737
# -------------------------------------------------
38-
AUTHORIZED_ROLES=('WG Chair','WG Secretary','RG Chair','IRTF Chair','IAB Group Chair','Area Director','Secretariat','Team Chair')
38+
AUTHORIZED_ROLES=('WG Chair','WG Secretary','RG Chair','AG Secretary','IRTF Chair','IAB Group Chair','Area Director','Secretariat','Team Chair')
3939
# -------------------------------------------------
4040
# Helper Functions
4141
# -------------------------------------------------

0 commit comments

Comments
 (0)