Skip to content

Commit 81e1d86

Browse files
committed
fix permissions for mentor group and nomcom
- Legacy-Id: 6387
1 parent d54d7a1 commit 81e1d86

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/secr/announcement/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ def check_access(user):
2323
Secretariat, IAD, IAB Chair, IETF Chair, RSOC Chair, IAOC Chair, NomCom Chair, RSE Chair
2424
'''
2525
person = user.get_profile()
26-
groups_with_access = ("iab", "rsoc", "ietf", "iaoc", "rse")
26+
groups_with_access = ("iab", "rsoc", "ietf", "iaoc", "rse", "mentor")
2727
if Role.objects.filter(person=person,
2828
group__acronym__in=groups_with_access,
2929
name="chair") or has_role(user, ["Secretariat","IAD"]):
3030
return True
3131
if Role.objects.filter(name="chair",
3232
group__acronym__startswith="nomcom",
3333
group__state="active",
34-
group__type="ietf",
34+
group__type="nomcom",
3535
person=person):
3636
return True
3737
if Role.objects.filter(person=person,

0 commit comments

Comments
 (0)