NASA-AMMOS / aerie-ui

The client application for Aerie.
https://nasa-ammos.github.io/aerie-docs/
MIT License
28 stars 5 forks source link

Overwrite `activeRole` cookie when it's not contained in allowed roles list #1131

Closed skovati closed 5 months ago

skovati commented 6 months ago

Small one-line change that overwrites the activeRole cookie with a default role if the active role is no longer a part of the user's allowed roles

This should help remove some of the "your requested role does not exist in the DB" Hasura errors.