This is a known general bug in Magento 1.6. There is an easy fix for that issue.
After creating a new WebService role, the “Role Resources” are not being saved.
The problem and solution is published on Magento forum as well:
http://www.magentocommerce.com/boards/viewthread/247316/
You need to change one line in the following file:
app/code/core/Mage/Adminhtml/Block/Api/Rolesedit.php
Change the following line (41):
if (array_key_exists(strtolower($item->getResource_id()), $resources) && $item->getPermission() == 'allow') {
With this line:
if (array_key_exists(strtolower($item->getResource_id()), $resources) && $item->getApiPermission() == 'allow') {
That's it, you are all set. After doing that you will be able to save the Role's resource tree.
Comments
2 comments