Hi,
I want to restrict the article category to certain users
for that I created a field in the model res.users [user_products_ids]
I created 2 rules on the registration for the 2 models [product.template], [product.category] The functionality works very well except that if I have a subcategory and the mother
category is restricted I have an error that appears:
The requested operation ("read" on "Item category" (product.category)) was rejected due to the following rules:
- Restriction on item category
Here is my code :
security.xml: