Skip to main content
3 events
when toggle format what by license comment
Dec 4, 2015 at 16:30 comment added stukev Well that's not too different. In that case just create the corresponding ACL settings. Alan Storm has a great tutorial on it, check the section titled "Adding an ACL role". Then just use this code to check if the current session user has your role: $session = Mage::getSingleton('admin/session'); $id = $session->getUser()->getUserId(); $role = Mage::getModel('admin/user')->load($id)->getRole()->getData();
Dec 4, 2015 at 15:35 comment added Haim That's only half the answer because I want that particular resource to show up in the role resources so that I can decide what roles get to see it and what roles don't.
Dec 4, 2015 at 9:47 history answered stukev CC BY-SA 3.0