Commit cca933ad authored by Nicolas Delaby's avatar Nicolas Delaby

Give Owner proxy role to Event_init and allow anonymous users create events.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41795 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a08c3da0
......@@ -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
......@@ -73,6 +76,14 @@ context.edit(content_type=context.portal_preferences.getPreferredTextFormat(),\n
<key> <string>_params</string> </key>
<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>
......
512
\ No newline at end of file
514
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment