[Erp5-report] r26352 - in /erp5/trunk/bt5/erp5_web: ModuleTemplateItem/ WorkflowTemplateIte...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Apr 8 14:54:47 CEST 2009


Author: kazuhiko
Date: Wed Apr  8 14:54:46 2009
New Revision: 26352

URL: http://svn.erp5.org?rev=26352&view=rev
Log:
* assignor should be able to create or clone a web site.
* assignor should be able to create or clone a web section.
* assignor should be able to create a category (but not a base category).

Modified:
    erp5/trunk/bt5/erp5_web/ModuleTemplateItem/web_site_module.xml
    erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow.xml
    erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/embedded.xml
    erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired.xml
    erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired_protected.xml
    erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired_published.xml
    erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/protected.xml
    erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/published.xml
    erp5/trunk/bt5/erp5_web/bt/revision

Modified: erp5/trunk/bt5/erp5_web/ModuleTemplateItem/web_site_module.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/ModuleTemplateItem/web_site_module.xml?rev=26352&r1=26351&r2=26352&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/ModuleTemplateItem/web_site_module.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_web/ModuleTemplateItem/web_site_module.xml [utf8] Wed Apr  8 14:54:46 2009
@@ -251,6 +251,8 @@
   </permission>
   <permission type='list'>
    <name>Add portal content</name>
+   <role>Assignor</role>
+   <role>Manager</role>
   </permission>
   <permission type='list'>
    <name>Add portal folders</name>
@@ -350,6 +352,8 @@
   </permission>
   <permission type='list'>
    <name>Copy or Move</name>
+   <role>Assignor</role>
+   <role>Manager</role>
   </permission>
   <permission type='list'>
    <name>Create Transient Objects</name>

Modified: erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow.xml?rev=26352&r1=26351&r2=26352&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow.xml [utf8] Wed Apr  8 14:54:46 2009
@@ -52,6 +52,7 @@
                 <string>Add portal content</string>
                 <string>Modify portal content</string>
                 <string>Delete objects</string>
+                <string>Copy or Move</string>
               </tuple>
             </value>
         </item>

Modified: erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/embedded.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/embedded.xml?rev=26352&r1=26351&r2=26352&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/embedded.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/embedded.xml [utf8] Wed Apr  8 14:54:46 2009
@@ -16,6 +16,12 @@
         <item>
             <key> <string>id</string> </key>
             <value> <string>embedded</string> </value>
+        </item>
+        <item>
+            <key> <string>permission_roles</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
         </item>
         <item>
             <key> <string>title</string> </key>
@@ -43,4 +49,65 @@
       </dictionary>
     </pickle>
   </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="PersistentMapping" module="Persistence.mapping"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>data</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>Access contents information</string> </key>
+                    <value>
+                      <list/>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Add portal content</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignor</string>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Copy or Move</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignor</string>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Delete objects</string> </key>
+                    <value>
+                      <list/>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Modify portal content</string> </key>
+                    <value>
+                      <list/>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>View</string> </key>
+                    <value>
+                      <list/>
+                    </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
 </ZopeData>

Modified: erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired.xml?rev=26352&r1=26351&r2=26352&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired.xml [utf8] Wed Apr  8 14:54:46 2009
@@ -71,15 +71,25 @@
                     </value>
                 </item>
                 <item>
+                    <key> <string>Copy or Move</string> </key>
+                    <value>
+                      <tuple/>
+                    </value>
+                </item>
+                <item>
                     <key> <string>Delete objects</string> </key>
                     <value>
-                      <list/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
                 <item>
                     <key> <string>Modify portal content</string> </key>
                     <value>
-                      <list/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
                 <item>

Modified: erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired_protected.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired_protected.xml?rev=26352&r1=26351&r2=26352&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired_protected.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired_protected.xml [utf8] Wed Apr  8 14:54:46 2009
@@ -76,6 +76,12 @@
                     </value>
                 </item>
                 <item>
+                    <key> <string>Copy or Move</string> </key>
+                    <value>
+                      <tuple/>
+                    </value>
+                </item>
+                <item>
                     <key> <string>Delete objects</string> </key>
                     <value>
                       <tuple>

Modified: erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired_published.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired_published.xml?rev=26352&r1=26351&r2=26352&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired_published.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired_published.xml [utf8] Wed Apr  8 14:54:46 2009
@@ -82,6 +82,12 @@
                     </value>
                 </item>
                 <item>
+                    <key> <string>Copy or Move</string> </key>
+                    <value>
+                      <tuple/>
+                    </value>
+                </item>
+                <item>
                     <key> <string>Delete objects</string> </key>
                     <value>
                       <tuple>

Modified: erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/protected.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/protected.xml?rev=26352&r1=26351&r2=26352&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/protected.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/protected.xml [utf8] Wed Apr  8 14:54:46 2009
@@ -52,17 +52,14 @@
   <record id="2" aka="AAAAAAAAAAI=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Persistence</string>
-          <string>PersistentMapping</string>
-        </tuple>
-        <none/>
+        <global name="PersistentMapping" module="Persistence.mapping"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
       <dictionary>
         <item>
-            <key> <string>_container</string> </key>
+            <key> <string>data</string> </key>
             <value>
               <dictionary>
                 <item>
@@ -78,6 +75,15 @@
                 </item>
                 <item>
                     <key> <string>Add portal content</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignor</string>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Copy or Move</string> </key>
                     <value>
                       <tuple>
                         <string>Assignor</string>

Modified: erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/published.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/published.xml?rev=26352&r1=26351&r2=26352&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/published.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/published.xml [utf8] Wed Apr  8 14:54:46 2009
@@ -52,17 +52,14 @@
   <record id="2" aka="AAAAAAAAAAI=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Persistence</string>
-          <string>PersistentMapping</string>
-        </tuple>
-        <none/>
+        <global name="PersistentMapping" module="Persistence.mapping"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
       <dictionary>
         <item>
-            <key> <string>_container</string> </key>
+            <key> <string>data</string> </key>
             <value>
               <dictionary>
                 <item>
@@ -85,6 +82,15 @@
                 </item>
                 <item>
                     <key> <string>Add portal content</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignor</string>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Copy or Move</string> </key>
                     <value>
                       <tuple>
                         <string>Assignor</string>

Modified: erp5/trunk/bt5/erp5_web/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/bt/revision?rev=26352&r1=26351&r2=26352&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_web/bt/revision [utf8] Wed Apr  8 14:54:46 2009
@@ -1,1 +1,1 @@
-772
+773




More information about the Erp5-report mailing list