Files
odoo_source/addons/website_event_track/security/event.xml
T
Olivier Dony 4572ea9ef3 [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
2014-02-25 12:57:42 +01:00

18 lines
709 B
XML

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<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'))]"/>
<field name="perm_read" eval="True"/>
<field name="perm_write" eval="False"/>
<field name="perm_create" eval="False"/>
<field name="perm_unlink" eval="False"/>
</record>
</data>
</openerp>