-
-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with roles in route meta #655
Comments
Good find, I've pushed up a fix in |
@websanova That did it. Thanks! |
I seem to be having another issue with auth meta and child routes. If a parent route has a role defined (or in my case permission) and the child route has no auth meta defined, it throws a forbidden error when visiting the child route. However if that child route has any auth defined it works. Not a huge deal to just set the child routes to Won't work:
Works:
|
Hmm, ya, because you have a string there, and it's checking for |
Using
Auth User
Vue Auth Options
If I run the following it returns true
However if I use the same permission on a route, it redirects to the forbidden route every time no matter how many different formats I have tried.
Any assistance would be appreciated.
The text was updated successfully, but these errors were encountered: