Developer forum

Forum » Dynamicweb 10 » Setting permissions for orders per shop

Setting permissions for orders per shop

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Good morning,

I was under the impression that Capability Control would allow me to set permissions on orders per shop. However, even with that feature turned on, I still only see the main Orders node in 10:

In 9, it looks like this:

which allowed me to set permissions for the IT-Shop and the DK-Shop independently.

Is this not possible in DW10 or am I missing a way to set this up?

Thanks in advance,

Imar


Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Bump! Anyone?

 
Rasmus Sanggaard Dynamicweb Employee
Rasmus Sanggaard
Reply

Hi Imar,

 

You will always just see the Orders node - and then it only shows orders from the channels that you have permissions for. You do not need Capability control. You just set permissions on the channels in Products. 

 

BR Rasmus Sanggaard

 
Rasmus Sanggaard Dynamicweb Employee
Rasmus Sanggaard
Reply

Hi Imar,

 

You will always just see the Orders node - and then it only shows orders from the channels that you have permissions for. You do not need Capability control. You just set permissions on the channels in Products. 

 

BR Rasmus Sanggaard

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Rasmus,
What about the other sections under the Commerce area?

Will they also be filtered based on the Shop/Channel permissions?

Is the shop permission read from the User property (ShopId)?
I could not find an explicit way of setting permissions on the Channels (assuming you don't have PIM included in the license)
What if a user should have access to multiple shops?

Thank you,
Adrian

 
Rasmus Sanggaard Dynamicweb Employee
Rasmus Sanggaard
Reply

Hi,

 

Shop / Channels permission are set under Products (Remember Products is not PIM) which might be moved to Settings. If you do not have permissions for a Channel or a Shop, you can't see it under Commerce. 

 

BR Rasmus Sanggaard

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Got it!

Thank you. What about the other part of my question? Will all the Commerce nodes and lists be filtered based on the permission?

Thank you,
Adrian

 
Rasmus Sanggaard Dynamicweb Employee
Rasmus Sanggaard
Reply

Hi,

I am not sure I totally understand. But if you do not have permissions for a Shop / Channel, you can't see it in the entire Commerce section, not only Orders. 

 

BR Rasmus Sanggaard

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

I think what Adrian is referring to is everything under Promotions:

Currently when you have access to Commerce for at least one product catalog, you also get access to all these items, unfiltered. However, that's often not granular enough as these items give access to all data without filtering. So, for example, when I have access to only one product catalog and the Commerce section, I can see and manage all discounts for all shops.

I've created a feature request here: https://github.com/dynamicweb/DynamicWeb/issues/547 which asks for more individual control over the shops under Orders (as row level filtering based on product catalog access is often not enough) and separate permissions for the other Commerce entries.

Imar

 

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,
Right, I was talking about those sections.
I also defined a feature request a while ago: https://github.com/dynamicweb/DynamicWeb/issues/315

I was also mentioning a few more segmentations:
Forms for Editors, Queries.
And there can be more (Variant Groups, Manufacturers, CustomFields, etc.).
But if we solve the sections under Promotions, it would be a good start.
Thank you,
Adrian

 

 
Rasmus Sanggaard Dynamicweb Employee
Rasmus Sanggaard
Reply

Hi,

Thanks for the clarifications, and thanks for creating the feature requests on GitHub. Let us use those issues to discuss this further. :-)

BR Rasmus Sanggaard

 

You must be logged in to post in the forum