canAccessPanel Authenticatable

Not sure if I've asked this before or not... So canAccessPanel function from the FilamentUser contract that goes on the User. I have a package User that extends Authenticatable, then a project level User that extends the Package User. I cant seem to place the FilamentUser contract on the project level as it isn't detecting the permissions on the Package User?
3 Replies
Jamie Cee
Jamie CeeOP13mo ago
Any ideas of a solution?
ChesterS
ChesterS13mo ago
I'm not sure I understand your setup but have you also added the implements FilamentUser interface on the model?
Jamie Cee
Jamie CeeOP13mo ago
Yeah, on the project level model, but it wont register because its not in Package/Path/User which is the model that extends Authenticatable, (it looks for the auth user)
Want results from more Discord servers?
Add your server