View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0007011||OXID eShop (all versions)||4.12. Subshop handling||public||2019-07-11 14:23||2019-09-13 08:04|
|Target Version||Fixed in Version|
|Summary||0007011: when assigning rights (rights -> assign user groups) to a category in the subshop, these are also transferred to the main shop|
In a supershop, articles are passed on to a subshop. (in the tab page Article -> Mall a tick is set)
In this Subshop (dealer portal) only logged in users should see/buy the articles because this subshop has different prices.
We have created extra categories in the subshop so that these can only be made visible for the logged in customers / dealers.
As soon as we add the user groups (in the subshop and for the categories of the subshop) (dealers), the articles are no longer displayed either in the supershop.
After we do not change any rights in the supershop, it is not allowed that changes of the subshop affect the supershop.
|Steps To Reproduce||1. Create new subshop|
2. Assign articles in supershop to subshop (Articles -> mall -> assign)
3. Create categorie in subshop
4. Assign articles to subshop category
5. Assign in subshop rights to category (category -> rights -> assign user group "Händler"
6. After that the articles also disappear in the main shop
|Tags||No tags attached.|
|PHP Version||Not defined|
|MySQL Version||Not defined|
in the oxobjectrights table, if rights are set in the category (Category -> Rights) these are set not only for the categories, but also for the articles (which is incorrect).
But since the articles are inherited from the main shop, this right also applies here and the articles disappear.
Thus Workaround: First set rights for category (without article assignment) and after articles were assigned, do not touch the rights again. :-)
- es -