[Erp5-report] r33183 nicolas - in /erp5/trunk/bt5/erp5_data_protection: ActionTemplateItem/...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Mar 1 14:50:10 CET 2010
Author: nicolas
Date: Mon Mar 1 14:50:08 2010
New Revision: 33183
URL: http://svn.erp5.org?rev=33183&view=rev
Log:
Display this action for Assignor only
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=33183&r1=33182&r2=33183&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] Mon Mar 1 14:50:08 2010
@@ -101,7 +101,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
- <value> <string>python:here.getValidationState() in (\'submitted\', \'open\')</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\')]</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=33183&r1=33182&r2=33183&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_data_protection/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_data_protection/bt/revision [utf8] Mon Mar 1 14:50:08 2010
@@ -1,1 +1,1 @@
-6
+9
More information about the Erp5-report
mailing list