[Vuejs]-How to handle permissions for route from database?

0👍

This is a good check to do on the client side, if you are also protecting routes / endpoints on the back end I think that would be the most well rounded solution.

I’m not sure what you’re using on the backend but if its Node, you could use something like Passport to manage roles – as a middleware to routes and endpoints.

Leave a comment