[Erp5-report] r38731 fabien - in /erp5/trunk/bt5/erp5_base: WorkflowTemplateItem/portal_wor...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Sep 28 16:33:43 CEST 2010


Author: fabien
Date: Tue Sep 28 16:33:41 2010
New Revision: 38731

URL: http://svn.erp5.org?rev=38731&view=rev
Log:
Add Auditor proxy role. In this way, Anonymous users are able to send notification message through proxy_roles scripts.
This should not be a problems as the related interaction is trigged on '_setFile', '_setTextContent', so if you are able to modify the content, no problem to have Auditor role.

Modified:
    erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/document_conversion_interaction_workflow/scripts/updateContentMd5.xml
    erp5/trunk/bt5/erp5_base/bt/revision

Modified: erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/document_conversion_interaction_workflow/scripts/updateContentMd5.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/document_conversion_interaction_workflow/scripts/updateContentMd5.xml?rev=38731&r1=38730&r2=38731&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/document_conversion_interaction_workflow/scripts/updateContentMd5.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/document_conversion_interaction_workflow/scripts/updateContentMd5.xml [utf8] Tue Sep 28 16:33:41 2010
@@ -2,10 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
+      <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -70,6 +67,14 @@ document.updateContentMd5()\n
             <value> <string>state_change</string> </value>
         </item>
         <item>
+            <key> <string>_proxy_roles</string> </key>
+            <value>
+              <tuple>
+                <string>Auditor</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
             <key> <string>errors</string> </key>
             <value>
               <tuple/>

Modified: erp5/trunk/bt5/erp5_base/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/bt/revision?rev=38731&r1=38730&r2=38731&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_base/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_base/bt/revision [utf8] Tue Sep 28 16:33:41 2010
@@ -1 +1 @@
-862
\ No newline at end of file
+863
\ No newline at end of file




More information about the Erp5-report mailing list