[Erp5-report] r21602 - in /erp5/trunk/bt5/erp5_web: ActionTemplateItem/portal_types/Web%20P...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Jun 16 11:09:39 CEST 2008
Author: ivan
Date: Mon Jun 16 11:09:37 2008
New Revision: 21602
URL: http://svn.erp5.org?rev=21602&view=rev
Log:
Be consistent for Role Definition for Web Page/Web Section/ Web Site and show configuration form only if it's allowed to add Role Definition.
Added:
erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Page/local_permission.xml
Modified:
erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/local_permission.xml
erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Site/local_permission.xml
erp5/trunk/bt5/erp5_web/bt/revision
erp5/trunk/bt5/erp5_web/bt/template_action_path_list
Added: erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Page/local_permission.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%2520Page/local_permission.xml?rev=21602&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Page/local_permission.xml (added)
+++ erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Page/local_permission.xml Mon Jun 16 11:09:37 2008
@@ -1,0 +1,101 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <tuple>
+ <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>__ac_local_roles__</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>action</string> </key>
+ <value>
+ <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+ </value>
+ </item>
+ <item>
+ <key> <string>category</string> </key>
+ <value> <string>object_view</string> </value>
+ </item>
+ <item>
+ <key> <string>condition</string> </key>
+ <value>
+ <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+ </value>
+ </item>
+ <item>
+ <key> <string>description</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>icon</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>local_permission</string> </value>
+ </item>
+ <item>
+ <key> <string>permissions</string> </key>
+ <value>
+ <tuple>
+ <string>View</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>priority</string> </key>
+ <value> <float>5.5</float> </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string>Local Roles</string> </value>
+ </item>
+ <item>
+ <key> <string>visible</string> </key>
+ <value> <int>1</int> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+ <record id="2" aka="AAAAAAAAAAI=">
+ <pickle>
+ <tuple>
+ <global name="Expression" module="Products.CMFCore.Expression"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>text</string> </key>
+ <value> <string>string:${object_url}/Base_viewLocalPermissionList</string> </value>
+ </item>
+ </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: \'Role Definition\' in portal.portal_types[\'Web Page\'].allowed_content_types</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Modified: erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/local_permission.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%2520Section/local_permission.xml?rev=21602&r1=21601&r2=21602&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/local_permission.xml (original)
+++ erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/local_permission.xml Mon Jun 16 11:09:37 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: \'Role Definition\' in portal.portal_types[\'Web Section\'].allowed_content_types</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
</ZopeData>
Modified: erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Site/local_permission.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%2520Site/local_permission.xml?rev=21602&r1=21601&r2=21602&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Site/local_permission.xml (original)
+++ erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Site/local_permission.xml Mon Jun 16 11:09:37 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: \'Role Definition\' in portal.portal_types[\'Web Site\'].allowed_content_types</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
</ZopeData>
Modified: erp5/trunk/bt5/erp5_web/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/bt/revision?rev=21602&r1=21601&r2=21602&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/bt/revision (original)
+++ erp5/trunk/bt5/erp5_web/bt/revision Mon Jun 16 11:09:37 2008
@@ -1,1 +1,1 @@
-657
+664
Modified: erp5/trunk/bt5/erp5_web/bt/template_action_path_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/bt/template_action_path_list?rev=21602&r1=21601&r2=21602&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/bt/template_action_path_list (original)
+++ erp5/trunk/bt5/erp5_web/bt/template_action_path_list Mon Jun 16 11:09:37 2008
@@ -5,6 +5,7 @@
Web Page Module | view
Web Page | history
Web Page | list
+Web Page | local_permission
Web Page | metadata
Web Page | send_email
Web Page | view
More information about the Erp5-report
mailing list