diff --git a/ietf/ietfauth/utils.py b/ietf/ietfauth/utils.py index ffda3acffd..0e46018c09 100644 --- a/ietf/ietfauth/utils.py +++ b/ietf/ietfauth/utils.py @@ -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')), diff --git a/ietf/secr/sreq/views.py b/ietf/secr/sreq/views.py index f0a723b050..278930ad34 100644 --- a/ietf/secr/sreq/views.py +++ b/ietf/secr/sreq/views.py @@ -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