Skip to content
Permalink
Browse files

⬇️1️⃣0️⃣ website_multi_company: add security group that allows public…

… users read data from current website's company
  • Loading branch information...
Ildar authored and em230418 committed Aug 10, 2018
1 parent 21dac70 commit f58a22c511f6a739c13811f5540277f7aa9612bd
@@ -7,7 +7,7 @@
"category": "eCommerce",
# "live_test_url": "http://apps.it-projects.info/shop/product/website-multi-company?version=10.0",
"images": ['images/website_multi_company_main.png'],
"version": "10.0.2.0.3",
"version": "10.0.2.0.4",
"application": False,

"author": "IT-Projects LLC, Ivan Yelizariev",
@@ -21,6 +21,7 @@
"website",
"website_multi_theme",
"ir_config_parameter_multi_company",
"ir_rule_website",
],
"external_dependencies": {"python": [], "bin": []},
"data": [
@@ -32,6 +33,7 @@
"views/website_navbar_templates.xml",
"views/res_users_view.xml",
"data/first_action.xml",
'security/res_security.xml',
],
"qweb": [
],
@@ -1,3 +1,8 @@
`2.0.4`
-------

- **FIX:** Public users now have access to read company logo in a website

`2.0.3`
-------

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp><data>
<record id="res_company_rule_public_website" model="ir.rule">
<field name="name">company rule public website</field>
<field name="model_id" ref="base.model_res_company"/>
<field eval="False" name="global"/>
<field name="groups" eval="[(6, 0, [ref('base.group_public')])]"/>
<field name="domain_force">[('id','=', website.company_id.id)]</field>
</record>
</data></openerp>

0 comments on commit f58a22c

Please sign in to comment.
You can’t perform that action at this time.