when I use the 'permission' or 'role' tag in config/menu-aside .. sidebar doesn't recognize it
, using metronic 7.2.8.
Does anyone knows why?
Hi,
The permission feature is available in Metronic version 8. In the file app/Core/Adapters/Menu.php in the function of filterMenuPermissions
You can also implement your own using this plugin. https://spatie.be/docs/laravel-permission/v5/introduction
Thanks
Can you show your code?
'submenu' => [
[
'title' => 'admins',
'bullet' => 'dot',
'page' => 'admin/admins/',
'permission' => 'admin list',
],
[
'title' => 'role',
'bullet' => 'dot',
'page' => 'admin/roles/',
'permission' => 'role list'
],