summaryrefslogtreecommitdiff
path: root/addons/website_event_track/security
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2014-02-25 12:57:42 +0100
committerOlivier Dony <odo@openerp.com>2014-02-25 12:57:42 +0100
commit4572ea9ef3bd0d2b46359ed8483613d3ffe9aec3 (patch)
tree057c1792c1d93a33c6d42cf036144c9e1fd05675 /addons/website_event_track/security
parenta67cd4c049fec67bb00580b2de8aad68dbf0eb57 (diff)
[FIX] website_event_track: employees should not be restricted to public events only
Also switched rule to noupdate. A manual fix of existing installations will be necessary, as is usually the case for ir.rules changes. This module has not made it into a LTS version yet, so it is acceptable. + Added a _description for the event.track model to avoid it being replaced by inherited descriptions. bzr revid: odo@openerp.com-20140225115742-ghnt3khn6hvycnnw
Diffstat (limited to 'addons/website_event_track/security')
-rw-r--r--addons/website_event_track/security/event.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website_event_track/security/event.xml b/addons/website_event_track/security/event.xml
index 56ca1ff5ec1..52f8e3c7286 100644
--- a/addons/website_event_track/security/event.xml
+++ b/addons/website_event_track/security/event.xml
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
- <data>
+ <data noupdate="1">
<record id="event_track_public" model="ir.rule">
<field name="name">event tracks: Public</field>
<field name="model_id" ref="website_event_track.model_event_track"/>
<field name="domain_force">[('website_published', '=', True)]</field>
- <field name="groups" eval="[(4, ref('base.group_public')), (4, ref('base.group_portal')), (4, ref('base.group_user'))]"/>
+ <field name="groups" eval="[(4, ref('base.group_public')), (4, ref('base.group_portal'))]"/>
<field name="perm_read" eval="True"/>
<field name="perm_write" eval="False"/>
<field name="perm_create" eval="False"/>