Vauxoo / addons-vauxoo

All our modules related to developments that solves generic issues on Odoo, or that solve internal problems on Odoo Core, if something is here, maybe it is solving an issue in your company, try it and report what you see.
http://www.vauxoo.com
193 stars 288 forks source link

[9.0] product_category_multicompany & POS session: product.category Access Error #1207

Closed BzMB closed 4 years ago

BzMB commented 7 years ago

Hi there,

Thanks for your work on product_category_multicompany

We potentially found a security issue on the module product_category_multicompany.

How to recreate:

The loading will stop on product.product and raise the following access error:

(u'The requested operation cannot be completed due to security restrictions. Please contact your system administrator.\\n\\n(Document type: product.category, Operation: read)', None)\n","exception_type":"access_error","message":"The requested operation cannot be completed due to security restrictions. Please contact your system administrator.\n\n(Document type: product.category, Operation: read)\nNone","name":"openerp.exceptions.AccessError","arguments":["The requested operation cannot be completed due to security restrictions. Please contact your system administrator.\n\n(Document type: product.category, Operation: read)",null]}}

If you uninstall the product_category_multicompany module the POS session for the non admin user will load correctly.

Can you please try to recreate from your end and confirm it?

We are using the latest sourcecode from your repo and from Odoo cores.

Many thanks.