From 07683cae08ecb2fabeb879f931812a38bf3d7faa Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Wed, 17 Jul 2013 22:28:33 +0000 Subject: [PATCH] Updated the doc stream auth function to permit Area Directors to edit stream info for ietf documents. - Legacy-Id: 5841 --- ietf/ietfauth/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ietf/ietfauth/utils.py b/ietf/ietfauth/utils.py index 678e1a1f5..e9fbbab5c 100644 --- a/ietf/ietfauth/utils.py +++ b/ietf/ietfauth/utils.py @@ -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":