You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.
Hello, I saw that the VerifyPermission is not working properly. Basically it's always returning true event if the user doesn't have the permission. Does anyone knows how I can fix it? For example if I do
dd($this->auth->user()->userPermissions)
I see a collection of the permissions that the current authenticated user has. The list doesn't contains the permission that the variable $permission has but stills returns true.
The text was updated successfully, but these errors were encountered:
Issues are open now. Could you open a issue there and provide a more detailed example?
Example from the readme $router->post('/example', [ 'as' => 'example', 'middleware' => 'permission:edit.articles', 'uses' => 'ExampleController@index', ]);
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello, I saw that the VerifyPermission is not working properly. Basically it's always returning true event if the user doesn't have the permission. Does anyone knows how I can fix it? For example if I do
I see a collection of the permissions that the current authenticated user has. The list doesn't contains the permission that the variable $permission has but stills returns true.
The text was updated successfully, but these errors were encountered: