Commit 3f61235c authored by Romain Courteaud's avatar Romain Courteaud

Prevent Unauthorized error.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20976 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ca0fa701
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<string>Products.PythonScripts.PythonScript</string> <tuple/>
<string>PythonScript</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -70,7 +67,7 @@ ...@@ -70,7 +67,7 @@
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>if not context.getFollowUp():\n <value> <string>if not context.getFollowUp():\n
return False\n return False\n
followup_value = context.getFollowUpValue()\n followup_value = context.getFollowUpValue(checked_permission=\'Access contents information\')\n
if followup_value is None:\n if followup_value is None:\n
return False\n return False\n
if getattr(followup_value, \'getAssessmentFormId\', None) is None:\n if getattr(followup_value, \'getAssessmentFormId\', None) is None:\n
......
230 233
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment