Allow read permissions only in the Magento admin panel

I just want to ask how to create role permission in Magento, which requires read-only access. Role-based permission is specifically designed for customer service representatives, and I want to give them a role without changing the backend side.

Any suggestions or solutions when creating read permissions.

Role: customer service Permission: read-only access on the "Sales Order" tab

Thanks at Advanced!

+4
source share
1 answer

This is not a feature of Magento, and this will require overwriting the main file. There are safe ways to do this, and most likely it will be only one file:

app/code/core/Mage/Adminhtml/Controller/Action.php

, , - :

app/code/local/Mage/Adminhtml/Controller/Action.php

, Magento , , , Magento .

+2

Source: https://habr.com/ru/post/1544863/


All Articles