Arches is a web platform for creating, managing, & visualizing geospatial data. Arches was inspired by the needs of the Cultural Heritage community, particularly the widespread need of organizations to build & manage cultural heritage inventories
GNU Affero General Public License v3.0
216
stars
144
forks
source link
Add `UserView.get()` to retrieve logged-in user details re #11261 #11331
[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Description of Change
Follow-up to #11284. Allow retrieving the current user so that page refreshes or redirects (e.g. from the arches login form for multi-factor authentication) don't unnecessarily route to a login page.
Issues Solved
Refs #11261
Checklist
I targeted one of these branches:
[x] dev/8.0.x
[ ] I added a changelog in arches/releases
[ ] I submitted a PR to arches-docs (if appropriate)
[x] Unit tests pass locally with my changes
[x] I added tests that prove my fix is effective or that my feature works
Types of changes
Description of Change
Follow-up to #11284. Allow retrieving the current user so that page refreshes or redirects (e.g. from the arches login form for multi-factor authentication) don't unnecessarily route to a login page.
Issues Solved
Refs #11261
Checklist
Ticket Background
Further comments
Used in archesproject/arches-lingo#39