vigneshm-quikieapps / risign-stars-backend

0 stars 0 forks source link

Get user data from DB and not token #156

Closed hosseini44444 closed 2 years ago

hosseini44444 commented 2 years ago

User privileges in the token may not be up to date, so we need to get the user data from the DB instead of the token. Removed roles (functional privileges) from tokens as they've no use in the tokens anymore. Did some refactoring and removed some extra files (checked and they were not used in other places of the app)