You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have installed everything as instructed, create an Equipment Role and Assigned a permission named create equipment, then assigned it to the user who is logged in. When I add the following code to the
Equipment Resource
class Equipment extends Resource
{
use \Insenseanalytics\LaravelNovaPermission\PermissionsBasedAuthTrait;
public static $permissionsForAbilities = [
'create' => 'create equipment',
];
my resource disappears from the nav bar. Am I doing something wrong?
Thanks so much
The text was updated successfully, but these errors were encountered:
@simona2017 you would also need to add the view permissions for you to be able to view the resource in the navbar. If you wish to grant all abilities to users who have the create equipment permission, you can use 'all' => 'create equipment'
I have installed everything as instructed, create an Equipment Role and Assigned a permission named create equipment, then assigned it to the user who is logged in. When I add the following code to the
Equipment Resource
my resource disappears from the nav bar. Am I doing something wrong?
Thanks so much
The text was updated successfully, but these errors were encountered: