Bug 7880 - allow the same OPAC login for different users at different branches
Summary: allow the same OPAC login for different users at different branches
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Authentication (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Galen Charlton
QA Contact: Ian Walls
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-02 21:37 UTC by Melia Meggs
Modified: 2014-12-07 20:03 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Melia Meggs 2012-04-02 21:37:08 UTC
Right now the OPAC login must be globally unique.  You can't have the same username at different branches.  For example, Jim Smith at the South Branch can't have the same username at Jim Smith at the North Branch.  

Would like to allow the same OPAC login for different users at different branches.
Comment 1 Katrin Fischer 2012-04-02 21:44:04 UTC
Hi Melia, 
I was going through old bugs today and 1861 seems relevant in this context.
Comment 2 Katrin Fischer 2012-04-02 21:47:16 UTC
Thinking about it, I am not sure how this can work. 
How will Koha know wich user is the right one? What happens when both persons choose the same password? We don't ask for the branch on login. 
What happens when the user moves and the patron record is changed to be at the same branch as the other person of the same name?
Comment 3 Ian Walls 2012-04-02 21:57:56 UTC
Making this field non-unique would create many, many more problems than it solves. I recommend against it. Like with any site, usernames are subject to availability. Adding a namespace prefix or suffix per branch would keep the field unique, but allow different branches to use the same root name.  Ex: smith@CPL v. smith@AFPL
Comment 4 Melia Meggs 2012-05-14 18:07:58 UTC
Thanks everyone.  That makes sense, and thanks Ian for your suggestion of branch prefix or suffix.