[Erp5-report] r41795 nicolas - in /erp5/trunk/bt5/erp5_crm: SkinTemplateItem/portal_skins/e...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Dec 27 13:09:44 CET 2010


Author: nicolas
Date: Mon Dec 27 13:09:44 2010
New Revision: 41795

URL: http://svn.erp5.org?rev=41795&view=rev
Log:
Give Owner proxy role to Event_init and allow anonymous users create events.

Modified:
    erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_init.xml
    erp5/trunk/bt5/erp5_crm/bt/revision

Modified: erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_init.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_init.xml?rev=41795&r1=41794&r2=41795&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_init.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_init.xml [utf8] Mon Dec 27 13:09:44 2010
@@ -50,9 +50,12 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string># XXX Reference will be probably generated with dedicated tool\n
-# in near future\n
+            <value> <string>"""Owner Proxy Role allows anonymous users to create events\n
+through web sites.\n
 \n
+Reference will be probably generated with dedicated tool\n
+in near future\n
+"""\n
 type_definition = context.getTypeInfo()\n
 \n
 short_portal_type = type_definition.getShortTitle()\n
@@ -74,6 +77,14 @@ context.edit(content_type=context.portal
             <value> <string>*args, **kw</string> </value>
         </item>
         <item>
+            <key> <string>_proxy_roles</string> </key>
+            <value>
+              <tuple>
+                <string>Owner</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
             <key> <string>id</string> </key>
             <value> <string>Event_init</string> </value>
         </item>

Modified: erp5/trunk/bt5/erp5_crm/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/bt/revision?rev=41795&r1=41794&r2=41795&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_crm/bt/revision [utf8] Mon Dec 27 13:09:44 2010
@@ -1 +1 @@
-512
\ No newline at end of file
+514
\ No newline at end of file



More information about the Erp5-report mailing list