Tenancy: access tenant in `canAccessPanel` function
Hi,
The
Unfortunately the
User.php
AppServiceProvider.php
App\Features\Tickets.php
Is it possible to get the tenant loaded in the
The
canAccessPanel function on the User model is an ideal place to check if the users tenant has access to that functionality.Unfortunately the
Tenant model is not loaded until after the firs invocation of canAccessPanel.User.php
AppServiceProvider.php
App\Features\Tickets.php
Is it possible to get the tenant loaded in the
canAccessPanel method or is there another good way to achieve this?
