'User permission with Vue.js Cookie
In my project there are superuser and staffs. And only superuser can delete users. So, I wonder that is it possible to delete user with using cookies?
Solution 1:[1]
I wouldn't recommend using cookies for this. Better use some server-side tech to keep track of your users and their state. Cookies can be used to keep track of a user's session, but that's it.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | JeanRemyDuboc |
