Skip to content

Commit 07683ca

Browse files
committed
Updated the doc stream auth function to permit Area Directors to edit stream
info for ietf documents. - Legacy-Id: 5841
1 parent 92a8ed5 commit 07683ca

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ietf/ietfauth/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ def is_authorized_in_doc_stream(user, doc):
102102
group_req = None
103103

104104
if doc.stream.slug == "ietf":
105+
if has_role(user, ["Area Director"]):
106+
return True
105107
if not doc.group.type == "individ":
106108
group_req = Q(group=doc.group)
107109
elif doc.stream.slug == "irtf":

0 commit comments

Comments
 (0)