Open amidesfahani opened 4 years ago
I think you can publish the config files and change it from there (tag nova-permission-tool
).
In my case, I have it in Spanish, so I changed resources/lang/vendor/nova-permission-tool/es/navigation.php
. I changed it to Admin
which was a group I already had and it worked.
Hi. How do I "publish the config files"? (I'm new to Laravel.)
@cja-github try with php artisan vendor:publish --tag=nova-permission-tool
That returned:
Unable to locate publishable resources.
Publishing complete.
Nothing has been changed in the file system.
@cja-github if you run php artisan vendor:publish
alone, what are the options? Do you see it?
php artisan vendor:publish --tag=nova-permission-tool-lang
will publish the language resources in resources/lang/vendor/nova-permission-tool
.
Edit your language(s) navigation.php
in that folder to set your Sidebar Group.
hi please make it possible to change sidebar $group name from a config file. like: Users -- User -- Roles & Permissions
public static $group = 'Users';
thanks