Allow LookupUser via usrname
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NCIPServer |
New
|
Undecided
|
Unassigned |
Bug Description
To go along with the change to allow authentication with usernames in bug 2018615, it might be convenient to allow LookupUser to check for the patron's usrname in addition to barcode. A possible implementation was discussed in IRC on 2024-05-09: http://
I like the approach of adding a new function retrieve_
I think the new implementation should try retrieve_
I did not feel spicy yesterday, but there's a small branch that does the thing (at least for LookupUser) here: https:/ /git.evergreen- ils.org/ ?p=working/ NCIPServer. git;a=shortlog; h=refs/ heads/user/ jboyer/ lp2065343_ username_ login / working/ user/jboyer/ lp2065343_ username_ login
Presently the user's primary barcode is still returned rather than their username, though I suspect this is actually a feature as it avoids remote systems having to know that johnqpub and 1234576 are the same accounts.