What if you try user all lower case? I think that case sensitivity is important too. As for the permission issue take a look at the discussion here: https://github.com/spatie/laravel-permission/issues/590
Apr 24, 2022
2
Level 10
There is no role named `User`. Spatie Permission
I use the package laravel-permission from spatie. I try to associate users with roles and permissions. I followed the documentation step by step. I get two kinds of errors.
When a asociate a user with roles. I get
There is no role named `User`.
When a asociate a permission to user. I get for Example
There is no permission named `writer` for guard `web`.
The roles and Permission exist. Does anyone have any advice?
Please or to participate in this conversation.