Commit 36c6da51 authored by Ivan Tyagov's avatar Ivan Tyagov

Enable Role Definitions for Web Site and Web Section (tests will soon follow).

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21567 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3d69e7b9
......@@ -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>
......
<?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>
......@@ -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>
......
......@@ -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>
......
<?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>
......@@ -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>
......
......@@ -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>
......
......@@ -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>
\ No newline at end of file
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.
......
648
\ No newline at end of file
657
\ No newline at end of file
......@@ -14,6 +14,7 @@ Web Section | generate_section
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 Module | view
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
......
......@@ -3,8 +3,10 @@ Web Page | File
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
\ No newline at end of file
Web Page | edit_workflow
Web Page | publication_workflow
Web Section | edit_workflow
Web Site | edit_workflow
\ No newline at end of file
Web Section | local_permission_interaction_workflow
Web Site | edit_workflow
Web Site | local_permission_interaction_workflow
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment