Skip to content

Commit bca620d

Browse files
committed
Add roles useful for Secretariat tools (patch by Ryan Cross)
- Legacy-Id: 3697
1 parent 6d74a91 commit bca620d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ietf/ietfauth/decorators.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ def has_role(user, role_names):
8787
"Area Director": Q(person=person, name="ad", group__type="area", group__state="active"),
8888
"Secretariat": Q(person=person, name="secr", group__acronym="secretariat"),
8989
"IANA": Q(person=person, name="auth", group__acronym="iana"),
90+
"WG Chair": Q(person=person,name="chair", group__type="wg", group__state="active"),
91+
"WG Secretary": Q(person=person,name="secr", group__type="wg", group__state="active"),
9092
}
9193

9294
filter_expr = Q()

0 commit comments

Comments
 (0)