[Erp5-report] r33185 nicolas - in /erp5/trunk/bt5/erp5_data_protection: WorkflowTemplateIte...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Mar 1 14:53:00 CET 2010


Author: nicolas
Date: Mon Mar  1 14:52:57 2010
New Revision: 33185

URL: http://svn.erp5.org?rev=33185&view=rev
Log:
Add default security configuration for workflow.

Modified:
    erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/closed.xml
    erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/deleted.xml
    erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/draft.xml
    erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/open.xml
    erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/submitted.xml
    erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/close_action.xml
    erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/delete_action.xml
    erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/open_action.xml
    erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/submit_action.xml
    erp5/trunk/bt5/erp5_data_protection/bt/revision

Modified: erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/closed.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/closed.xml?rev=33185&r1=33184&r2=33185&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/closed.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/closed.xml [utf8] Mon Mar  1 14:52:57 2010
@@ -18,6 +18,12 @@
             <value> <string>closed</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>
             <value> <string>Closed</string> </value>
         </item>
@@ -36,4 +42,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>
+                      <tuple>
+                        <string>Auditor</string>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Add portal content</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Delete objects</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Modify portal content</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>View</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Auditor</string>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
 </ZopeData>

Modified: erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/deleted.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/deleted.xml?rev=33185&r1=33184&r2=33185&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/deleted.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/deleted.xml [utf8] Mon Mar  1 14:52:57 2010
@@ -18,6 +18,12 @@
             <value> <string>deleted</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>
             <value> <string>Deleted</string> </value>
         </item>
@@ -36,4 +42,64 @@
       </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>
+                      <tuple>
+                        <string>Auditor</string>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Add portal content</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Delete objects</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Modify portal content</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>View</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
 </ZopeData>

Modified: erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/draft.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/draft.xml?rev=33185&r1=33184&r2=33185&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/draft.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/draft.xml [utf8] Mon Mar  1 14:52:57 2010
@@ -16,6 +16,12 @@
         <item>
             <key> <string>id</string> </key>
             <value> <string>draft</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>
@@ -41,4 +47,75 @@
       </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>
+                      <tuple>
+                        <string>Assignor</string>
+                        <string>Auditor</string>
+                        <string>Manager</string>
+                        <string>Owner</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Add portal content</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignor</string>
+                        <string>Manager</string>
+                        <string>Owner</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Delete objects</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignor</string>
+                        <string>Manager</string>
+                        <string>Owner</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Modify portal content</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignor</string>
+                        <string>Manager</string>
+                        <string>Owner</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>View</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignor</string>
+                        <string>Auditor</string>
+                        <string>Manager</string>
+                        <string>Owner</string>
+                      </tuple>
+                    </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
 </ZopeData>

Modified: erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/open.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/open.xml?rev=33185&r1=33184&r2=33185&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/open.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/open.xml [utf8] Mon Mar  1 14:52:57 2010
@@ -16,6 +16,12 @@
         <item>
             <key> <string>id</string> </key>
             <value> <string>open</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>
@@ -39,4 +45,69 @@
       </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>
+                      <tuple>
+                        <string>Assignor</string>
+                        <string>Auditor</string>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Add portal content</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignor</string>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Delete objects</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Modify portal content</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignor</string>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>View</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignor</string>
+                        <string>Auditor</string>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
 </ZopeData>

Modified: erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/submitted.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/submitted.xml?rev=33185&r1=33184&r2=33185&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/submitted.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/submitted.xml [utf8] Mon Mar  1 14:52:57 2010
@@ -16,6 +16,12 @@
         <item>
             <key> <string>id</string> </key>
             <value> <string>submitted</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>
@@ -41,4 +47,69 @@
       </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>
+                      <tuple>
+                        <string>Assignor</string>
+                        <string>Auditor</string>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Add portal content</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignor</string>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Delete objects</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Modify portal content</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignor</string>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>View</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignor</string>
+                        <string>Auditor</string>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
 </ZopeData>

Modified: erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/close_action.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/close_action.xml?rev=33185&r1=33184&r2=33185&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/close_action.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/close_action.xml [utf8] Mon Mar  1 14:52:57 2010
@@ -32,7 +32,7 @@
         <item>
             <key> <string>guard</string> </key>
             <value>
-              <none/>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
             </value>
         </item>
         <item>
@@ -58,4 +58,24 @@
       </dictionary>
     </pickle>
   </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="Guard" module="Products.DCWorkflow.Guard"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>roles</string> </key>
+            <value>
+              <tuple>
+                <string>Assignor</string>
+              </tuple>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
 </ZopeData>

Modified: erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/delete_action.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/delete_action.xml?rev=33185&r1=33184&r2=33185&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/delete_action.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/delete_action.xml [utf8] Mon Mar  1 14:52:57 2010
@@ -23,7 +23,7 @@
         </item>
         <item>
             <key> <string>after_script_name</string> </key>
-            <value> <string></string> </value>
+            <value> <string>delete</string> </value>
         </item>
         <item>
             <key> <string>description</string> </key>
@@ -32,7 +32,7 @@
         <item>
             <key> <string>guard</string> </key>
             <value>
-              <none/>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
             </value>
         </item>
         <item>
@@ -58,4 +58,25 @@
       </dictionary>
     </pickle>
   </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="Guard" module="Products.DCWorkflow.Guard"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>roles</string> </key>
+            <value>
+              <tuple>
+                <string>Owner</string>
+                <string>Assignor</string>
+              </tuple>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
 </ZopeData>

Modified: erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/open_action.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/open_action.xml?rev=33185&r1=33184&r2=33185&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/open_action.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/open_action.xml [utf8] Mon Mar  1 14:52:57 2010
@@ -32,7 +32,7 @@
         <item>
             <key> <string>guard</string> </key>
             <value>
-              <none/>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
             </value>
         </item>
         <item>
@@ -58,4 +58,24 @@
       </dictionary>
     </pickle>
   </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="Guard" module="Products.DCWorkflow.Guard"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>roles</string> </key>
+            <value>
+              <tuple>
+                <string>Assignor</string>
+              </tuple>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
 </ZopeData>

Modified: erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/submit_action.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/submit_action.xml?rev=33185&r1=33184&r2=33185&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/submit_action.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/submit_action.xml [utf8] Mon Mar  1 14:52:57 2010
@@ -32,7 +32,7 @@
         <item>
             <key> <string>guard</string> </key>
             <value>
-              <none/>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
             </value>
         </item>
         <item>
@@ -58,4 +58,25 @@
       </dictionary>
     </pickle>
   </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="Guard" module="Products.DCWorkflow.Guard"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>roles</string> </key>
+            <value>
+              <tuple>
+                <string>Owner</string>
+                <string>Assignor</string>
+              </tuple>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
 </ZopeData>

Modified: erp5/trunk/bt5/erp5_data_protection/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_data_protection/bt/revision?rev=33185&r1=33184&r2=33185&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_data_protection/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_data_protection/bt/revision [utf8] Mon Mar  1 14:52:57 2010
@@ -1,1 +1,1 @@
-10
+11




More information about the Erp5-report mailing list