cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.3 - How to restrict Muti-website backend store details from admin users?

Magento 2.3 - How to restrict Muti-website backend store details from admin users?

I have multiple stores, each store has its own orders and sales details, here the problem is all my admin users see all the store details, how to restrict admin users from seeing another store details.

2 REPLIES 2

Re: Magento 2.3 - How to restrict Muti-website backend store details from admin users?

to allow an admin to view/update values/configuration for any specific store you need to customize the admin user entity and add an attribute and further need to add a plugin or observer to filter all collection and restrict the to save the entities like the product, categories only for the store assigned to that user. 

 

also, there are many 3rd party extensions available called "Advanced Permission for Magento2" ref: https://www.mageplaza.com/review/magento-2-advanced-permissions/ 


Re: Magento 2.3 - How to restrict Muti-website backend store details from admin users?

Hello @Aveeva 

 

Restricting admin users to scopes is a enterprise feature so you have to go with some sort of module to achieve this functionality. Only way to avoid third parties would be to write your own but i don't think this is something you achieve with just a few lines of code.

 

You may need 3rd party extension like :

https://amasty.com/advanced-permissions-for-magento-2.html

https://marketplace.magento.com/amasty-rolepermissions.html

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy