Widget for user with permmission
Is there any way to check in the widget user rights?
I created a widget in the module but I want it to appear only users with authorization for the module, for example hasAccess ( 'menu.menuitems'). I do not want to edit the DashboardController for any module update and code loss.
Excuse my English....
are you find way to do this?