Jump to content

accessing component ACL asset outside component


Ortix

Recommended Posts

I have created a component with ACL which works perfectly fine. However I want to access the component ACL in the quickicon module to hide specific icons from specific usergroups.

 

Example:

 

JFactory::getUser()->authorise('partner.create.order', 'com_partner_portal')

 

This doesn't seem to work in the mod_quickicon module. Any ideas how I can get this to work? I tried joomla forums, stackoverflow and the IRC channel with no success. This is kind of my last resort other than hard coding the usergroup id's in the module

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.