Commit 05027171 authored by Rafael Monnerat's avatar Rafael Monnerat

Use Base_checkPermission to prevent security issues...

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23135 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ce48ea3e
...@@ -97,7 +97,7 @@ string:${object_url}/Base_jumpToRelatedObject?base_category=follow_up&portal_typ ...@@ -97,7 +97,7 @@ string:${object_url}/Base_jumpToRelatedObject?base_category=follow_up&portal_typ
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <key> <string>text</string> </key>
<value> <string>python:getattr(portal, \'support_request_module\', None) is not None</string> </value> <value> <string>python: portal.Base_checkPermission(\'bug_module\', \'View\')</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <key> <string>text</string> </key>
<value> <string>python: getattr(here,\'bug_module\', None) is not None</string> </value> <value> <string>python: portal.Base_checkPermission(\'bug_module\', \'Add portal content\')</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
292 293
\ 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