Commit 98685eca authored by Nicolas Delaby's avatar Nicolas Delaby

Avoid user to create data_protection_request from a module

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33527 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 577b7545
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <key> <string>text</string> </key>
<value> <string>python: portal.Base_checkPermission(\'data_protection_request_module\', \'Add portal content\')</string> </value> <value> <string>python: portal.Base_checkPermission(\'data_protection_request_module\', \'Add portal content\') and here.getPortalType() not in portal.getPortalModuleTypeList()</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
19 20
\ 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