Laravel @can not working #2126
Unanswered
angeltecnology77
asked this question in
Q&A
Replies: 1 comment
-
Duplicate of #1955, #1971, #2053, #1956 laravel-permission/tests/resources/views/can.blade.php Lines 1 to 5 in fc841f8 laravel-permission/tests/BladeTest.php Lines 76 to 85 in fc841f8 @can directive is tested and working, read documentation, you did forget something
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I installed laravel-permissions versions : * 5.5.4 in Laravel Framework version: 8.77.1, and I was able to create permissions, roles, assign permissions to roles and assign roles to users, but when I use the @can directive, nothing works, it doesn't recognize the permission.
It hides me, the link or the button for all users...for example...so
What can I do? Could you help me? please.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions