Sometimes for different reasons you may want to restrict access to the specific actions and allow it only for pecificoles.In the Seotoaster plugin you can do that very quick and easy! You just need to specify secured actions list. Here an example how to do that:
Example: we will close ‘settings’ action for everyone except the superadmin role
/** * List of action that should be allowed to specific roles * * By default all actions of your plugin are available to the guest user * @var array */ protected $_securedActions = array( Tools_Security_Acl::ROLE_SUPERADMIN => array( 'settings' ) );
So, $_securedActions list is an associative array where a key is a role, registered in the Seotoaster and a value is an array of plugin’s actions, allowed to this role
Introducing SeoToaster 3.9: Empowering E-commerce a...
SeoSamba Press ReleaseEmail: info@seosamba.comTel: +1 877 4...
Crafting Client Confidence: How SeoSamba's Review T...
SeoSamba Presents SeoToaster Ultimate v...