-
I created the permission like this. When you turn on the wildcard option The first user with "admin" permission is this a bug? Even though it's "admin"'s permission, not "admin.*" permission, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
You have to give all the information, the authors cannot guess or use psychic powers to know which package version you use, php version, etc, it's the only way someone can give you an answer |
Beta Was this translation helpful? Give feedback.
-
Try to use It seems like an expected behavior, look at this test: laravel-permission/tests/WildcardHasPermissionsTest.php Lines 43 to 47 in 2512d5a Just with 'post' has permission to 'post.create'
|
Beta Was this translation helpful? Give feedback.
-
I believe this is not a bug, it is in the documentation. |
Beta Was this translation helpful? Give feedback.
I believe this is not a bug, it is in the documentation.