[Erp5-report] r21472 - in /erp5/trunk/bt5/erp5_crm: ActionTemplateItem/portal_types/Person%...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Jun 10 16:25:09 CEST 2008
Author: romain
Date: Tue Jun 10 16:25:08 2008
New Revision: 21472
URL: http://svn.erp5.org?rev=21472&view=rev
Log:
Display action only if user has add permission on event module.
Modified:
erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Person%20Module/create_event_list.xml
erp5/trunk/bt5/erp5_crm/bt/revision
Modified: erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Person%20Module/create_event_list.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Person%2520Module/create_event_list.xml?rev=21472&r1=21471&r2=21472&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Person%20Module/create_event_list.xml (original)
+++ erp5/trunk/bt5/erp5_crm/ActionTemplateItem/portal_types/Person%20Module/create_event_list.xml Tue Jun 10 16:25:08 2008
@@ -27,7 +27,9 @@
</item>
<item>
<key> <string>condition</string> </key>
- <value> <string></string> </value>
+ <value>
+ <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+ </value>
</item>
<item>
<key> <string>description</string> </key>
@@ -80,4 +82,20 @@
</dictionary>
</pickle>
</record>
+ <record id="3" aka="AAAAAAAAAAM=">
+ <pickle>
+ <tuple>
+ <global name="Expression" module="Products.CMFCore.Expression"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>text</string> </key>
+ <value> <string>python: portal.Base_checkPermission(\'event_module\', \'Add portal content\')</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
</ZopeData>
Modified: erp5/trunk/bt5/erp5_crm/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/bt/revision?rev=21472&r1=21471&r2=21472&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/bt/revision (original)
+++ erp5/trunk/bt5/erp5_crm/bt/revision Tue Jun 10 16:25:08 2008
@@ -1,1 +1,1 @@
-262
+263
More information about the Erp5-report
mailing list