nova-permission icon indicating copy to clipboard operation
nova-permission copied to clipboard

Use other guard than Nova uses

Open danielschweiger opened this issue 4 years ago • 0 comments

I have an own guard "admin" for Nova. With the tool I want to manage the users who are using "web" guard and login at my jetstream dashbaord. How can I tell the tool to use individuael guard?

In Role.php the tool get's the guard here:

$userResource = Nova::resourceForModel(getModelForGuard($this->guard_name));

The result is

App\Nova\Admin 

It should be

App\Nova\User

in my case.

Would be cool if one could configure this on tool initialization. Even better would be the tool could handle multiple guards.

danielschweiger avatar Jan 26 '21 09:01 danielschweiger