View Issue Details

IDProjectCategoryView StatusLast Update
0007011OXID eShop (all versions)4.12. Subshop handlingpublic2019-10-17 13:16
ReporterQA Assigned To 
PriorityhighSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version6.1.4 
Fixed in Version7.0.0-rc1 
Summary0007011: when assigning rights (rights -> assign user groups) to a category in the subshop, these are also transferred to the main shop
DescriptionScenario:
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 Reproduce1. 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
TagsNo tags attached.
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined

Activities

QA

2019-07-12 10:32

administrator   ~0012937

Last edited: 2019-07-12 10:33

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 -