must be an instance of App\User, instance of App\Domain\User given
Closed this issue · 1 comments
Artistan commented
Argument 1 passed to RomegaDigital\MultitenancyNovaTool\Policies\RolePolicy::before()
must be an instance of App\User, instance of App\Domain\User given,
called in /var/www/vhosts/xx/yy/vendor/laravel/framework/src/Illuminate/Auth/Access/Gate.php on line 683
(View: /var/www/vhosts/xx/yy/resources/views/vendor/nova/layout.blade.php)
config allows setting config('multitenancy.user_model')
but then forces App\User !
bradenkeith commented
This issue is for a different package https://github.com/romegasoftware/MultitenancyNovaTool
Regardless, it has been resolved in the 3.0 release of that project.