Magento 1.8 – Check Admin User Privileges Programmatically

adminadministrationmagento-1.8

I am trying to find a provision for checking out the privileges of current logged in user, I am able to get the data of current logged admin from session, but struggling to get the privileges it has, any suggestions?

Best Answer

Perhaps?

Mage::getSingleton('admin/session')->getUser()->getRole();

Related Topic