Bug 36028 - When AutoLocation is on there is no error message when the user is at the wrong branch
Summary: When AutoLocation is on there is no error message when the user is at the wro...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: Main
Hardware: All All
: P5 - low trivial (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks: 28657
  Show dependency treegraph
 
Reported: 2024-02-07 22:42 UTC by Michael Hafen
Modified: 2024-02-07 23:46 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 36028: With AutoLocation on, show the error when a user is at another branch (2.97 KB, patch)
2024-02-07 22:44 UTC, Michael Hafen
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Hafen 2024-02-07 22:42:18 UTC
When AutoLocation is on the user is supposed to be restricted to logging in at their branch.  If the user is at a different branch and logs in, they get past the login page, but any action returns them to the login page.
They should be returned directly to the login page with an error message.

Test plan:
1. select a branch with branchip set to match the ip you are testing from.
2. select a user at a different branch.
3. login.
4. observe that there is no error, and login appears to succeed, but doesn't actually.
5. apply patch and restart services.
6. login again.
7. observe that the login page comes back immediately with an error message about AutoLocation being on.
Comment 1 Michael Hafen 2024-02-07 22:44:50 UTC
Created attachment 161860 [details] [review]
Bug 36028: With AutoLocation on, show the error when a user  is at another branch