[Erp5-report] r33527 nicolas - in /erp5/trunk/bt5/erp5_data_protection: ActionTemplateItem/...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Mar 9 13:49:04 CET 2010
Author: nicolas
Date: Tue Mar 9 13:49:03 2010
New Revision: 33527
URL: http://svn.erp5.org?rev=33527&view=rev
Log:
Avoid user to create data_protection_request from a module
Modified:
erp5/trunk/bt5/erp5_data_protection/ActionTemplateItem/portal_types/portal_actions/raise_data_protection_request.xml
erp5/trunk/bt5/erp5_data_protection/bt/revision
Modified: erp5/trunk/bt5/erp5_data_protection/ActionTemplateItem/portal_types/portal_actions/raise_data_protection_request.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_data_protection/ActionTemplateItem/portal_types/portal_actions/raise_data_protection_request.xml?rev=33527&r1=33526&r2=33527&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_data_protection/ActionTemplateItem/portal_types/portal_actions/raise_data_protection_request.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_data_protection/ActionTemplateItem/portal_types/portal_actions/raise_data_protection_request.xml [utf8] Tue Mar 9 13:49:03 2010
@@ -87,7 +87,7 @@
<dictionary>
<item>
<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>
</dictionary>
</pickle>
Modified: erp5/trunk/bt5/erp5_data_protection/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_data_protection/bt/revision?rev=33527&r1=33526&r2=33527&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_data_protection/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_data_protection/bt/revision [utf8] Tue Mar 9 13:49:03 2010
@@ -1,1 +1,1 @@
-19
+20
More information about the Erp5-report
mailing list