Restrict component submenu items using ACL ?
Posted: Fri Apr 22, 2022 10:56 am
Hi,
I have a backend component with five submenu options defined in <menu> entries in the <submenu> node of the component.xml. I would like all of these to be visible to superusers (core.admin) but only the first three to be shown to administrators (core.manage).
Is this possible ? I can clearly block access to the underlying functions in the code by checking the access permissions but I'd prefer to just not display menu items if the users don't have access to them.
Thanks,
David
J3.10.3
I have a backend component with five submenu options defined in <menu> entries in the <submenu> node of the component.xml. I would like all of these to be visible to superusers (core.admin) but only the first three to be shown to administrators (core.manage).
Is this possible ? I can clearly block access to the underlying functions in the code by checking the access permissions but I'd prefer to just not display menu items if the users don't have access to them.
Thanks,
David
J3.10.3