I have created a admin user in magento and give certain access permissions, and i have an extension called support ticket, i gave user role access to this extension, when i logged in that particular user i am getting an error called access denied for that support ticket extension, when i login as admin it is working fine, and when i changed user role permission from custom to all, every thing is working as expected, but i need to give only this particular access permission,what can i do ?
adminhtml.xml
<?xml version="1.0"?>
<config>
<acl>
<resources>
<admin>
<children>
<system>
<children>
<config>
<children>
<support_ticket_ultimate translate="title" module="supportticket">
<title>Support Ticket Ultimate Section</title>
<sort_order>0</sort_order>
</support_ticket_ultimate>
</children>
</config>
</children>
</system>
</children>
</admin>
</resources>
</acl>
</config>
Best Answer
I want to explain a bit what @Sander Mangel said in his answer:
Look for files like this:
and make sure there's a method that looks like this inside every admin controller:
A recent security patch makes it so that controllers without the
_isAllowed
method do not work. That answer also says that this works if the module has implemented ACL inetc/adminhtml.xml
and since you say you added the appropiate permission to the user role, it sounds like yours does. In case it doesn't, justreturn true;
from the method, but this allows access to any admin user.