To the best of your perseverance and attempts to protect data, there is the issue of data substitution. I use VueJS on the site, there are variables of various types. For example, after authorizing a user, I get the user.lvl variable from the store , user.lvl clear that this is the user level and it depends on what data to display what does not, also concerns id so on. The question is, I couldn’t change myself, but is it possible to replace them in a browser or phone via js for example? I can easily change the data of the app itself or the components (on the local server), but they did not get access to the store, even in DevTools .
I could not track the data myself, besides those that come by ajax request, but here I just see them, the question is the substitution by the regular method.
The access to the closed sections of the site after the substitution or access to the personal data when changing the user id excites.
v-if="user.lvl > 2"checkv-if="user.lvl > 2"then by replacing 1 with 99, will I get everything? Also, isAdmin true / false responds to any data depending on any data - Ruslan Semenov