Abstract methods in models
I am trying to modify my project to allow all users that have @tribes.work.com. Whenever i try to login however i get the following error
Class App\Models\User contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Filament\Models\Contracts\FilamentUser::canAccessPanel). Anyone have any solutions?
4 Replies
according to the debugger the error happens here
canAccessFilament
from v2
use this for v3
It had to do with the function name. Apparently canAccessPanel was not the correct one
Anyway its solved but for anyone having the same issue