From 5b9b56c5fd6e9d28aa0926ce07b37a8828a9a87d Mon Sep 17 00:00:00 2001 From: Adam Roach Date: Sat, 12 Nov 2011 04:45:33 +0000 Subject: [PATCH] Fixing bug in is_authorized_in_draft_stream: would never return true for WG chairs - Legacy-Id: 3600 --- ietf/ietfworkflows/accounts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/ietfworkflows/accounts.py b/ietf/ietfworkflows/accounts.py index 702de62b6..dfd5d264f 100644 --- a/ietf/ietfworkflows/accounts.py +++ b/ietf/ietfworkflows/accounts.py @@ -53,7 +53,7 @@ def is_authorized_in_draft_stream(user, draft): return True # Check if the person is chair of the related group chairs = streamed.stream.get_chairs_for_document(draft) - if chairs and person in chairs: + if chairs and person in [i.person for i in chairs]: return True # Check if the person is authorized by a delegate system delegates = streamed.stream.get_delegates_for_document(draft)