Closed dave-mills closed 1 year ago
@dan-tang-ssd - could you review this quickly today? I'd like to publish it before the summit demo next week. Hopefully it's a quick review as all it does is:
if a user is linked to 2+ institutions, it shows a new "Change Institution" button in the header. This button takes you to the "select institutions" page, for the user to change institution.
I also exposed this functionality on the My Account page, as I felt that was a sensible place to list all institutions the user has access to.
If a user is linked to a single institution, there is no change.
@dan-tang-ssd - could you review this quickly today? I'd like to publish it before the summit demo next week. Hopefully it's a quick review as all it does is:
Sure, I am going to do it now.
Logout button is not aligned in "My Account" page...
The new feature works properly in both "My Account" and "Change Institution" page.
Deployment in staging env is completed. Performed testing with positive result.
PR to enable any user to be linked to multiple institutions, not just site admins or site managers.
This is a quick PR. right now, it's not easy to add existing users to new institutions, but for now that can be done via the database. This PR focuses on the UI to enable users to switch between institutions.
Fixes #178