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
Any ideas of a solution?
I'm not sure I understand your setup but have you also added the
implements FilamentUser
interface on the model?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)