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 @@
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.PythonScripts.PythonScript</string>
<string>PythonScript</string>
</tuple>
<none/>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -70,7 +67,7 @@
<key> <string>_body</string> </key>
<value> <string>if not context.getFollowUp():\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
return False\n
if getattr(followup_value, \'getAssessmentFormId\', None) is None:\n
......
230
\ No newline at end of file
233
\ 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