Removed work flow field from the check in getExtraMenus for program.
authorLennard de Rijk <ljvderijk@gmail.com>
Mon, 02 Feb 2009 14:19:22 +0000
changeset 1178 f0de31a14797
parent 1177 53c802c2a2e2
child 1179 427d2ec42823
Removed work flow field from the check in getExtraMenus for program. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
app/soc/views/models/program.py
--- a/app/soc/views/models/program.py	Mon Feb 02 14:09:24 2009 +0000
+++ b/app/soc/views/models/program.py	Mon Feb 02 14:19:22 2009 +0000
@@ -159,8 +159,7 @@
         # check if the current user is a host for this program
         rights.doCachedCheck('checkIsHostForProgram', 
             {'scope_path': entity.scope_path,
-            'link_id': entity.link_id,
-            'workflow': entity.workflow}, [])
+            'link_id': entity.link_id}, [])
 
         if entity.status == 'invisible':
           # still add the document links so hosts can see how it looks like