phpsa / filament-authentication

MIT License
106 stars 23 forks source link

Does not appears Users page #25

Closed Odilbukh closed 1 year ago

Odilbukh commented 1 year ago

After command php artisan migrate:fresh there is no users page

I have created new user manually in DB. I logged in as the user but the users page does not appears on sidebar. Even I have tried to enter bu url ../admin/users but there is error like 403 Forbiddin. It seems I dont have permission.

So How to create new user with admin permissions and get access to users?

image

phpsa commented 1 year ago

Do you have a user policy in your laravel installation? Filament resources make use of model policies. for the menu item to appear, your user should have viewAny permission on the policy

Odilbukh commented 1 year ago

No I dont have other user policy it's fresh Laravel project yet

phpsa commented 1 year ago

Can you confirm if still not working, It uses the Laravel Policy mapping to determine if allowed to view.

Odilbukh commented 1 year ago

You can close the issue