Open danielschweiger opened 3 years ago
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.
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:
The result is
It should be
in my case.
Would be cool if one could configure this on tool initialization. Even better would be the tool could handle multiple guards.