nova-permission
                                
                                
                                
                                    nova-permission copied to clipboard
                            
                            
                            
                        Use other guard than Nova uses
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.