[Erp5-report] r33900 nicolas - in /erp5/trunk/bt5/erp5_data_protection: ActionTemplateItem/...
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Mar 19 09:44:42 CET 2010
Author: nicolas
Date: Fri Mar 19 09:44:35 2010
New Revision: 33900
URL: http://svn.erp5.org?rev=33900&view=rev
Log:
Propose action if user can access compromised document.
Modified:
erp5/trunk/bt5/erp5_data_protection/ActionTemplateItem/portal_types/Data%20Protection%20Request/erase_some_original_data.xml
erp5/trunk/bt5/erp5_data_protection/bt/revision
Modified: erp5/trunk/bt5/erp5_data_protection/ActionTemplateItem/portal_types/Data%20Protection%20Request/erase_some_original_data.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_data_protection/ActionTemplateItem/portal_types/Data%2520Protection%2520Request/erase_some_original_data.xml?rev=33900&r1=33899&r2=33900&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_data_protection/ActionTemplateItem/portal_types/Data%20Protection%20Request/erase_some_original_data.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_data_protection/ActionTemplateItem/portal_types/Data%20Protection%20Request/erase_some_original_data.xml [utf8] Fri Mar 19 09:44:35 2010
@@ -101,7 +101,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
- <value> <string>python:here.getValidationState() in (\'submitted\', \'open\') and [x for x in object.getPortalObject().portal_membership.getAuthenticatedMember().getRolesInContext(object) if x in (\'Assignor\', \'Manager\')]</string> </value>
+ <value> <string>python:here.getValidationState() in (\'submitted\', \'open\') and [x for x in object.getPortalObject().portal_membership.getAuthenticatedMember().getRolesInContext(object) if x in (\'Assignor\', \'Manager\')] and here.getAgentValue(checked_permission=\'View\') is not None</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=33900&r1=33899&r2=33900&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_data_protection/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_data_protection/bt/revision [utf8] Fri Mar 19 09:44:35 2010
@@ -1,1 +1,1 @@
-31
+32
More information about the Erp5-report
mailing list