Skip to content

Commit

Permalink
fix: allow rswg chairs to request sessions (#5124)
Browse files Browse the repository at this point in the history
Fixes #5122
  • Loading branch information
rjsparks committed Feb 10, 2023
1 parent e280b25 commit 4309a4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ietf/ietfauth/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def has_role(user, role_names, *args, **kwargs):
"Program Lead": Q(person=person,name="lead", group__type="program", group__state="active"),
"Program Secretary": Q(person=person,name="secr", group__type="program", group__state="active"),
"Program Chair": Q(person=person,name="chair", group__type="program", group__state="active"),
"EDWG Chair": Q(person=person, name="chair", group__type="edwg", group__state="active"),
"Nomcom Chair": Q(person=person, name="chair", group__type="nomcom", group__acronym__icontains=kwargs.get('year', '0000')),
"Nomcom Advisor": Q(person=person, name="advisor", group__type="nomcom", group__acronym__icontains=kwargs.get('year', '0000')),
"Nomcom": Q(person=person, group__type="nomcom", group__acronym__icontains=kwargs.get('year', '0000')),
Expand Down
2 changes: 1 addition & 1 deletion ietf/secr/sreq/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
# Globals
# -------------------------------------------------
# TODO: This needs to be replaced with something that pays attention to groupfeatures
AUTHORIZED_ROLES=('WG Chair','WG Secretary','RG Chair','IAB Group Chair','Area Director','Secretariat','Team Chair','IRTF Chair','Program Chair','Program Lead','Program Secretary')
AUTHORIZED_ROLES=('WG Chair','WG Secretary','RG Chair','IAB Group Chair','Area Director','Secretariat','Team Chair','IRTF Chair','Program Chair','Program Lead','Program Secretary', 'EDWG Chair')

# -------------------------------------------------
# Helper Functions
Expand Down

0 comments on commit 4309a4b

Please sign in to comment.