Site was breaking for all non-admins. It was because the OareAppBar was retrieving environment info in order to display the readonly ribbon as necessary. However, that route was admin-only for good reason, causing a 401 no matter what page you loaded.
This PR simply creates a new route that only retrieves read only status and uses that to display the ribbon as necessary.
Site was breaking for all non-admins. It was because the
OareAppBar
was retrieving environment info in order to display the readonly ribbon as necessary. However, that route was admin-only for good reason, causing a 401 no matter what page you loaded.This PR simply creates a new route that only retrieves read only status and uses that to display the ribbon as necessary.