https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28157

            Bug ID: 28157
           Summary: Add the ability to set a library from which an API
                    request pretends to come from
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: REST API
          Assignee: [email protected]
          Reporter: [email protected]

Some actions results will depend on the logged-in library, in the Koha UI.
For example, extended attributes are not displayed on a library if limits have
been set. And the same applies for setting them.

Our current code on the API front controller sets userenv with the logged-in
patron library. We should add a way to override it through a header, and checks
should prevent invalid combinations: i.e. IndependentBranches + patron not
superlibrarian => reject the request.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to