flectra/addons/website_blog/security/website_blog_security.xml

10 lines
436 B
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2018-01-16 11:34:37 +01:00
<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>
2018-01-16 11:34:37 +01:00
</flectra>