Announcing Shield: an Official Authentication library |
Great addition kilishan. I've been using Myth Auth for years.
Anyway, I'm not sure if this is a bug or this is how you designed it. I added user #1 to superadmin and checked the groups through getGroups() PHP Code: auth()->user()->getGroups() It returns the correct group PHP Code: Array However, when I checked the permission, PHP Code: auth()->user()->getPermissions() PHP Code: 'superadmin' => [ I just want to be able to give the permissions to a group and the members of that group will also get those permissions. I can't find it in the documentation. Thanks. Anyone can answer. |
Welcome Guest, Not a member yet? Register Sign In |