[Erp5-report] r38722 fabien - in /experimental/bt5/erp5_credential: WorkflowTemplateItem/po...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Sep 28 15:54:41 CEST 2010
Author: fabien
Date: Tue Sep 28 15:54:20 2010
New Revision: 38722
URL: http://svn.erp5.org?rev=38722&view=rev
Log:
add proxy roles to make possible for anonymous to subscribe
Modified:
experimental/bt5/erp5_credential/WorkflowTemplateItem/portal_workflow/credential_automatic_accept_interraction_workflow/scripts/Credential_accept.xml
experimental/bt5/erp5_credential/WorkflowTemplateItem/portal_workflow/credential_interaction_workflow/scripts/CredentialRequest_createUserAccount.xml
experimental/bt5/erp5_credential/bt/revision
Modified: experimental/bt5/erp5_credential/WorkflowTemplateItem/portal_workflow/credential_automatic_accept_interraction_workflow/scripts/Credential_accept.xml
URL: http://svn.erp5.org/experimental/bt5/erp5_credential/WorkflowTemplateItem/portal_workflow/credential_automatic_accept_interraction_workflow/scripts/Credential_accept.xml?rev=38722&r1=38721&r2=38722&view=diff
==============================================================================
--- experimental/bt5/erp5_credential/WorkflowTemplateItem/portal_workflow/credential_automatic_accept_interraction_workflow/scripts/Credential_accept.xml [utf8] (original)
+++ experimental/bt5/erp5_credential/WorkflowTemplateItem/portal_workflow/credential_automatic_accept_interraction_workflow/scripts/Credential_accept.xml [utf8] Tue Sep 28 15:54:20 2010
@@ -53,6 +53,8 @@
<value> <string>"""\n
This script is used to automatically approve a submitted credential object.\n
The interaction use a system preference to call this script or not.\n
+ Proxy:\n
+ Auditor -- to be able to access the credential_object\n
"""\n
credential_object = state_change[\'object\']\n
portal = state_change.getPortal()\n
@@ -74,7 +76,9 @@ if isTransitionPossible(credential_objec
<item>
<key> <string>_proxy_roles</string> </key>
<value>
- <tuple/>
+ <tuple>
+ <string>Auditor</string>
+ </tuple>
</value>
</item>
<item>
Modified: experimental/bt5/erp5_credential/WorkflowTemplateItem/portal_workflow/credential_interaction_workflow/scripts/CredentialRequest_createUserAccount.xml
URL: http://svn.erp5.org/experimental/bt5/erp5_credential/WorkflowTemplateItem/portal_workflow/credential_interaction_workflow/scripts/CredentialRequest_createUserAccount.xml?rev=38722&r1=38721&r2=38722&view=diff
==============================================================================
--- experimental/bt5/erp5_credential/WorkflowTemplateItem/portal_workflow/credential_interaction_workflow/scripts/CredentialRequest_createUserAccount.xml [utf8] (original)
+++ experimental/bt5/erp5_credential/WorkflowTemplateItem/portal_workflow/credential_interaction_workflow/scripts/CredentialRequest_createUserAccount.xml [utf8] Tue Sep 28 15:54:20 2010
@@ -50,7 +50,9 @@
</item>
<item>
<key> <string>_body</string> </key>
- <value> <string>state_change[\'object\'].CredentialRequest_createPersonAndAssignment()\n
+ <value> <string>"""Proxy : Auditor -- to be able to access the credential_object"""\n
+\n
+state_change[\'object\'].CredentialRequest_createPersonAndAssignment()\n
</string> </value>
</item>
<item>
@@ -66,7 +68,9 @@
<item>
<key> <string>_proxy_roles</string> </key>
<value>
- <tuple/>
+ <tuple>
+ <string>Auditor</string>
+ </tuple>
</value>
</item>
<item>
Modified: experimental/bt5/erp5_credential/bt/revision
URL: http://svn.erp5.org/experimental/bt5/erp5_credential/bt/revision?rev=38722&r1=38721&r2=38722&view=diff
==============================================================================
--- experimental/bt5/erp5_credential/bt/revision [utf8] (original)
+++ experimental/bt5/erp5_credential/bt/revision [utf8] Tue Sep 28 15:54:20 2010
@@ -1 +1 @@
-203
\ No newline at end of file
+204
\ No newline at end of file
More information about the Erp5-report
mailing list