Updated the doc stream auth function to permit Area Directors to edit stream
info for ietf documents. - Legacy-Id: 5841
This commit is contained in:
parent
92a8ed56a8
commit
07683cae08
|
@ -102,6 +102,8 @@ def is_authorized_in_doc_stream(user, doc):
|
|||
group_req = None
|
||||
|
||||
if doc.stream.slug == "ietf":
|
||||
if has_role(user, ["Area Director"]):
|
||||
return True
|
||||
if not doc.group.type == "individ":
|
||||
group_req = Q(group=doc.group)
|
||||
elif doc.stream.slug == "irtf":
|
||||
|
|
Loading…
Reference in a new issue