webguys-de / EasyTemplate

42 stars 13 forks source link

add permission to save and delete CMS blocks #28

Closed gfobe closed 7 years ago

gfobe commented 8 years ago

In #27 there is the problem, that in \Webguys_Easytemplate_Block_Adminhtml_Cms_Block_Edit::_isAllowedAction we ask for permission cms/block/save but in standard Magento we have only permission for cms/block (not like in the pages section). I decided to add permissions cms/block/saveand cms/block/delete instead of using permission cms/block like in default Magento.