flectra/addons/website_blog/security/website_blog_security.xml
2018-01-16 02:34:37 -08:00

10 lines
436 B
XML

<?xml version="1.0" encoding="utf-8"?>
<flectra>
<record model="ir.rule" id="website_blog_post_public">
<field name="name">Blog Post: public: published only</field>
<field name="model_id" ref="model_blog_post"/>
<field name="domain_force">[('website_published', '=', True)]</field>
<field name="groups" eval="[(4, ref('base.group_public')), (4, ref('base.group_portal'))]"/>
</record>
</flectra>