chiiya / filament-access-control

Admin user, role and permission management for Laravel Filament
MIT License
192 stars 24 forks source link

Using the default User Model does not show the Administration Pages #57

Open kyagie opened 4 months ago

kyagie commented 4 months ago

Rather than going for the FilamentUserResource, I have chosen to create UserResources from the default User Modal but I can not see the Administration Pages. I have followed all steps but still the administration pages do not show.

chiiya commented 4 months ago

I'll need some more details regarding your setup here. Are you using a custom user model for authenticating the admin, or the default FilamentUser one? If you're using a custom one, are you sure you've assigned them the super-admin role?

kyagie commented 4 months ago

I am using the default User Model that comes with Laravel's initial installation. I have also edited to march the same implementation as FilamentUser

Screenshot 2024-05-16 at 12 56 54

Yes, I have assigned super-admin role to the user i am using to access the admin dashboard

Screenshot 2024-05-16 at 13 04 26