- add a shared institution membership query with all, exact-year, and from-year modes
- use the active membership cohort in the classifier, work classification access, person search, company connections, and author ranking
- derive restricted access from the effective institution of the authenticated organization
- make the company connections tab dynamically available and protect its backend endpoints
- standardize person-list URLs and active-membership filter defaults
- prevent caching of organization-dependent responses and refresh availability after organization changes
- remove legacy UDE-specific ranking logic, display-name compatibility queries, and unused institution lookup code
- update the work-classification metadata
Connect logout and change-password handling to the new auth v2 flow and
remove remaining legacy auth usage from the active frontend/backend flow.
Main changes:
- wire frontend logout and change-password handling to auth v2
- remove old auth service references from the active flow
- fix self-access handling so real_account_id == effective_account_id is not treated as impersonation
- update CredentialService token/session state handling
- update guards to validate the current session through /api/accounts/me
- update the auth interceptor for bearer tokens, public endpoint skips, and 401 recovery
- improve impersonation recovery UX with snackbar feedback and focus cleanup
- keep the registration page for now, but disable registration in CredentialService