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)
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)