Closed karlbenedict closed 1 year ago
Resolved with commit https://github.com/imls-dmt/userinterface/commit/a5d67273226e14e41bb47f88a417087e59b634c0
Ultimately set up call to /api/user/groups route that responds with an empty groups
element if not authenticated, and a groups
element that contains one or more elements if the user is logged in. The user interface elements and underlying state are updated to reflect this status when the application loads.
Groups in newly opened application tab/refreshed application interface should have username and groups aligned with desired state - logout to unauthenticated state, or restore to user and groups reported by api.