Developer forum

Forum » CMS - Standard features » Users subgroups inheritance

Users subgroups inheritance

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

I have a situation with a solution where we have a lot of Groups and subgroups for users. The main reason for the multi-level tree is the number of users and the issues with the Users interface.

The problem we have now is after switching to the new Permissions model.

Apparently, if you set the permissions for the top-level User group, the permissions are not inherited down the tree.

The same thing happens with the discounts. If I select a top-level group, it won't apply the discount to the users in the subgroups.

The customer claims that the old DW version (9.4 ish) would have handled this inheritance. But I don't have any way of checking that out since we have already upgraded the solution.

Thank you,

Adrian


Replies

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Adrian,

 

Why not use a SmartSearch to pick up the users and place them in a "All Special Users" group? We use this approach in similar scenarios. Also because it's reusable all over the platform, whether that's shipping methods permissions, assortments or plain permissions.

 

It does increase the number of smart searches and groups we have, but it's a UI/Customer-friendly way for our customers to work with too.

 

Best Regards,

Nuno Aguiar

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nuno.,
We have tried it already.
But in our case, it is very inefficient. It takes a lot of time (we have around 70k users).
Users are allocated to groups that are assigned to assortments.

While the SmartSeacrhes run, users are, for a short period of time, unallocated to groups. Which can cause loss of products from the cart and other complications.
Also, it affects visibly the performance while the SmartSearches run.

That's why I was looking for a more efficient way.

Thank you,
Adrian

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

Any input from DW on this subject?

Thank you,

Adrian

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi,

I've checked Swift solution based on DW9.15.9 and was not able to catch the issue. Here is video regarding the permissions inheritance check for top user group down structure (4 level were tested). Regarding limitation by user group in discount, it's by description (https://doc.dynamicweb.dk/documentation-9/ecommerce/discounts/discounts-offers#8283), inheritance is not applied there, users in specific group can be triggered only.

BR, Oleg QA

 

You must be logged in to post in the forum