[Erp5-report] r21567 - in /erp5/trunk/bt5/erp5_web: ActionTemplateItem/portal_types/Web%20S...

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jun 13 11:24:14 CEST 2008


Author: ivan
Date: Fri Jun 13 11:24:09 2008
New Revision: 21567

URL: http://svn.erp5.org?rev=21567&view=rev
Log:
Enable Role Definitions for Web Site and Web Section (tests will soon follow).

Added:
    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
Modified:
    erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/history.xml
    erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/metadata.xml
    erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Site/history.xml
    erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Site/metadata.xml
    erp5/trunk/bt5/erp5_web/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
    erp5/trunk/bt5/erp5_web/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
    erp5/trunk/bt5/erp5_web/bt/change_log
    erp5/trunk/bt5/erp5_web/bt/revision
    erp5/trunk/bt5/erp5_web/bt/template_action_path_list
    erp5/trunk/bt5/erp5_web/bt/template_portal_type_allowed_content_type_list
    erp5/trunk/bt5/erp5_web/bt/template_portal_type_workflow_chain_list

Modified: erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/history.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%2520Section/history.xml?rev=21567&r1=21566&r2=21567&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/history.xml (original)
+++ erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/history.xml Fri Jun 13 11:24:09 2008
@@ -51,7 +51,7 @@
         </item>
         <item>
             <key> <string>priority</string> </key>
-            <value> <float>7.0</float> </value>
+            <value> <float>8.0</float> </value>
         </item>
         <item>
             <key> <string>title</string> </key>

Added: 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=21567&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/local_permission.xml (added)
+++ erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/local_permission.xml Fri Jun 13 11:24:09 2008
@@ -1,0 +1,83 @@
+<?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> <string></string> </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>7.0</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>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/metadata.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%2520Section/metadata.xml?rev=21567&r1=21566&r2=21567&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/metadata.xml (original)
+++ erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/metadata.xml Fri Jun 13 11:24:09 2008
@@ -51,7 +51,7 @@
         </item>
         <item>
             <key> <string>priority</string> </key>
-            <value> <float>8.0</float> </value>
+            <value> <float>9.0</float> </value>
         </item>
         <item>
             <key> <string>title</string> </key>

Modified: erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Site/history.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%2520Site/history.xml?rev=21567&r1=21566&r2=21567&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Site/history.xml (original)
+++ erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Site/history.xml Fri Jun 13 11:24:09 2008
@@ -51,7 +51,7 @@
         </item>
         <item>
             <key> <string>priority</string> </key>
-            <value> <float>5.0</float> </value>
+            <value> <float>6.0</float> </value>
         </item>
         <item>
             <key> <string>title</string> </key>

Added: 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=21567&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Site/local_permission.xml (added)
+++ erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Site/local_permission.xml Fri Jun 13 11:24:09 2008
@@ -1,0 +1,83 @@
+<?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> <string></string> </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.0</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>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Site/metadata.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%2520Site/metadata.xml?rev=21567&r1=21566&r2=21567&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Site/metadata.xml (original)
+++ erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Site/metadata.xml Fri Jun 13 11:24:09 2008
@@ -51,7 +51,7 @@
         </item>
         <item>
             <key> <string>priority</string> </key>
-            <value> <float>6.0</float> </value>
+            <value> <float>7.0</float> </value>
         </item>
         <item>
             <key> <string>title</string> </key>

Modified: erp5/trunk/bt5/erp5_web/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml?rev=21567&r1=21566&r2=21567&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml (original)
+++ erp5/trunk/bt5/erp5_web/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml Fri Jun 13 11:24:09 2008
@@ -9,9 +9,11 @@
  <portal_type id="Web Section">
   <item>Web Section</item>
   <item>File</item>
+  <item>Role Definition</item>
   <item>Image</item>
  </portal_type>
  <portal_type id="Web Site">
+  <item>Role Definition</item>
   <item>Web Section</item>
   <item>Image</item>
   <item>File</item>

Modified: erp5/trunk/bt5/erp5_web/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml?rev=21567&r1=21566&r2=21567&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml (original)
+++ erp5/trunk/bt5/erp5_web/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml Fri Jun 13 11:24:09 2008
@@ -5,10 +5,10 @@
  </chain>
  <chain>
   <type>Web Section</type>
-  <workflow>edit_workflow</workflow>
+  <workflow>local_permission_interaction_workflow, edit_workflow</workflow>
  </chain>
  <chain>
   <type>Web Site</type>
-  <workflow>edit_workflow</workflow>
+  <workflow>local_permission_interaction_workflow, edit_workflow</workflow>
  </chain>
 </workflow_chain>

Modified: erp5/trunk/bt5/erp5_web/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/bt/change_log?rev=21567&r1=21566&r2=21567&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/bt/change_log (original)
+++ erp5/trunk/bt5/erp5_web/bt/change_log Fri Jun 13 11:24:09 2008
@@ -1,5 +1,5 @@
 2008-06-13 ivan
-* Show workflow state for Web Site and Web Section
+* Enable Role Definitions for Web Site and Web Section. Show workflow state for Web Site and Web Section
 
 2008-06-12 yo
 * Refactor WebSection_getDocumentValueList, so that it can be mostly shared with km. Now this script relies on a custom Z SQL Method to generate a good query.

Modified: erp5/trunk/bt5/erp5_web/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/bt/revision?rev=21567&r1=21566&r2=21567&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/bt/revision (original)
+++ erp5/trunk/bt5/erp5_web/bt/revision Fri Jun 13 11:24:09 2008
@@ -1,1 +1,1 @@
-648
+657

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=21567&r1=21566&r2=21567&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/bt/template_action_path_list (original)
+++ erp5/trunk/bt5/erp5_web/bt/template_action_path_list Fri Jun 13 11:24:09 2008
@@ -14,6 +14,7 @@
 Web Section | history
 Web Section | layout_configuration
 Web Section | list
+Web Section | local_permission
 Web Section | metadata
 Web Section | new_default_page
 Web Section | new_page
@@ -27,6 +28,7 @@
 Web Site | generate_section
 Web Site | history
 Web Site | layout_configuration
+Web Site | local_permission
 Web Site | metadata
 Web Site | new_default_page
 Web Site | predicate

Modified: erp5/trunk/bt5/erp5_web/bt/template_portal_type_allowed_content_type_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/bt/template_portal_type_allowed_content_type_list?rev=21567&r1=21566&r2=21567&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/bt/template_portal_type_allowed_content_type_list (original)
+++ erp5/trunk/bt5/erp5_web/bt/template_portal_type_allowed_content_type_list Fri Jun 13 11:24:09 2008
@@ -3,8 +3,10 @@
 Web Page | Image
 Web Section | File
 Web Section | Image
+Web Section | Role Definition
 Web Section | Web Section
 Web Site Module | Web Site
 Web Site | File
 Web Site | Image
+Web Site | Role Definition
 Web Site | Web Section

Modified: erp5/trunk/bt5/erp5_web/bt/template_portal_type_workflow_chain_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/bt/template_portal_type_workflow_chain_list?rev=21567&r1=21566&r2=21567&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/bt/template_portal_type_workflow_chain_list (original)
+++ erp5/trunk/bt5/erp5_web/bt/template_portal_type_workflow_chain_list Fri Jun 13 11:24:09 2008
@@ -1,4 +1,6 @@
 Web Page | edit_workflow
 Web Page | publication_workflow
 Web Section | edit_workflow
-Web Site | edit_workflow
+Web Section | local_permission_interaction_workflow
+Web Site | edit_workflow
+Web Site | local_permission_interaction_workflow




More information about the Erp5-report mailing list