Missing Working Location Causes Angular Staff Catalog Not to Display
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned | ||
3.9 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Evergreen 3.7.2ish
We recently upgraded to Evergreen 3.7.2 and have had a couple complaints about getting a white screen when accessing the new Angular staff catalog.
Instead of going to https:/
After some investigation, it appears that this is happening only to staff records without a working location.
I'm not sure if the permission issue goes deeper than that, yet, but it appears that adding a working location fixes the issue.
Console gives the following error: "ERROR Error: Uncaught (in promise): User does not have staff permissions"
It should be more obvious to the user what the issue is so that it can be fixed.
Changed in evergreen: | |
assignee: | nobody → Bill Erickson (berick) |
status: | New → Confirmed |
Changed in evergreen: | |
importance: | Undecided → Medium |
Changed in evergreen: | |
milestone: | 3.9-rc → 3.9.1 |
tags: |
added: needswork removed: needsdiscussion pullrequest |
Changed in evergreen: | |
milestone: | 3.9.1 → 3.9.2 |
Changed in evergreen: | |
milestone: | 3.9.2 → 3.10.1 |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
Here's a patch:
https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ berick/ lp1969641- no-work- org-msg
Note the new message only appears if the user logging in has STAFF_LOGIN permissions but does not have any working locations.
Lack of a STAFF_LOGIN permission will continue to result in a vanilla login failure.