Browse Source

[FIX] website_sale: product attribute, value, price ACLs

When a model is regarded as public readable, no group should be set on the ACL,
to allow ANYONE to read the model, not just the users within the public group.
master
Denis Ledoux 7 years ago
parent
commit
c73be555bf
  1. 8
      addons/website_sale/security/ir.model.access.csv

8
addons/website_sale/security/ir.model.access.csv

@ -10,7 +10,7 @@ access_product_pricelist_item_public,product.pricelist.item.public,product.model
access_product_product_price_type_public,product.price.type.public,product.model_product_price_type,,1,0,0,0
access_product_style,product.style.public,website_sale.model_product_style,,1,0,0,0
access_product_supplierinfo,product.supplierinfo.public,product.model_product_supplierinfo,,1,0,0,0
access_product_attribute_public,product.attribute public,product.model_product_attribute,base.group_public,1,0,0,0
access_product_attribute_value_public,product.attribute value public,product.model_product_attribute_value,base.group_public,1,0,0,0
access_product_attribute_price_public,product.attribute price public,product.model_product_attribute_price,base.group_public,1,0,0,0
access_product_attribute_line_public,product.attribute line public,product.model_product_attribute_line,base.group_public,1,0,0,0
access_product_attribute_public,product.attribute public,product.model_product_attribute,,1,0,0,0
access_product_attribute_value_public,product.attribute value public,product.model_product_attribute_value,,1,0,0,0
access_product_attribute_price_public,product.attribute price public,product.model_product_attribute_price,,1,0,0,0
access_product_attribute_line_public,product.attribute line public,product.model_product_attribute_line,,1,0,0,0

1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
10 access_product_product_price_type_public product.price.type.public product.model_product_price_type 1 0 0 0
11 access_product_style product.style.public website_sale.model_product_style 1 0 0 0
12 access_product_supplierinfo product.supplierinfo.public product.model_product_supplierinfo 1 0 0 0
13 access_product_attribute_public product.attribute public product.model_product_attribute base.group_public 1 0 0 0
14 access_product_attribute_value_public product.attribute value public product.model_product_attribute_value base.group_public 1 0 0 0
15 access_product_attribute_price_public product.attribute price public product.model_product_attribute_price base.group_public 1 0 0 0
16 access_product_attribute_line_public product.attribute line public product.model_product_attribute_line base.group_public 1 0 0 0
Loading…
Cancel
Save