Developer forum

Forum » Rapido » Websites and frontend permissions

Websites and frontend permissions

Aki Ruuskanen
Aki Ruuskanen
Reply

Hi,We have a Rapido setup with 4 websites and 4 shops for four countries. We also have four user groups. One for each country. 

What would be the best way to set permissions for the different user groups so that the "Norway" group can only login to the "Norway" website. 

I know I can set the permissions on the "My account" page but that does not prevent a user to login with the modal login form. 

Regards / Aki


Replies

 
Martin Vang
Martin Vang
Reply

Hi Aki,

Isn't it enough to hide the other 3 websites from the Norway-only user?

BR

Martin

 
Aki Ruuskanen
Aki Ruuskanen
Reply

Im talking about frontend users. Its four different websites with different domains. 

Or how do you mean "hide"?

Regards / Aki

 
Martin Vang
Martin Vang
Reply
This post has been marked as an answer

If you want the users to register 4 times, where the sites are isolated from each other, then you need to create 4 installations.

If you can live with the fact that 1 user that registers on 1 site, cannot use the same username on another site, then you can do the following:

Go to Content -> websites -> set permissions for Fx. Swedish website. Set permission to "None" for all the non-sweedish user-groups.

If you do this, the users will see a "blank" website if they try to navigate from one website to another.

 

If this is not your need, then please write a bit more about your use-case. :)

Votes for this answer: 1
 
Aki Ruuskanen
Aki Ruuskanen
Reply

That is what I was looking for.

Don't know why I did not think about the most obvious place to look. Some kind of brain disfunction. :)

Thanks / Aki

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Martin,

 

Something you said caught my eye:

>> If you want the users to register 4 times, where the sites are isolated from each other, then you need to create 4 installations.

 

If we set the set the ShopID to the required per user, couldn't we do it with a single installation?

https://doc.dynamicweb.com/documentation-9/platform/advanced-settings/control-panel#2546

 

Best Regards,

Nuno Aguiar

 
Martin Vang
Martin Vang
Reply

Ah yes. You can use that setting to allow multiple users with fx. username "brain@dynamicweb.dk" (one for each shop).

You cannot, however, use it for "isolation" between websites/shops.

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Martin,

 

Gotcha. What we did for a customer was to redirect the user to it's proper website after logging in, and prevent them from adding to the cart on the other websites/shops. We also created 1 context cart for each website, so they could not add items to the cart in one currency, then login and go to another website where that product might not even be available and avoid issues with the different currencies in the same cart.

 

Thanks,

Nuno Aguiar

 

You must be logged in to post in the forum