Details
-
Story
-
Status: Closed (View Workflow)
-
TBD
-
Resolution: Done
-
None
-
None
-
-
EPAM-Veg Sprint 105, EPAM-Veg Sprint 106, EPAM-Veg Sprint 107, EPAM-Veg Sprint 108
-
8
-
Vega
-
R1 2021
-
Medium
Description
Design doc: https://wiki.folio.org/display/DD/Overriding+blocks+in+mod-circulation
Request body of a check-out endpoint (POST /circulation/check-out-by-barcode) needs to include a list of blocks that the requester wants to override. New (optional) field should be added to JSON schema:
"overrideBlocks": { "description": "Blocks that user wants to override", "type": "array", "items":{ "type": "string", "enum": [ "patron-block", "item-limit-block", "item-not-loanable-block" ] } }
If this parameter is included in the request, the server should override all of the specified blocks if the user has sufficient permissions. If the user doesn't have some of the required override permissions, a list of missing permissions should be included in the response. An error should be added to the response body with these parameters:
- key: "overridableBlocks", value: comma-separated string
A list of blocks that need to be overridden in order to complete this action. - key: "missingOverridePermissions", value: comma-separated string (optional)
Overridable blocks keys:
- patron-block
- item-limit-block
- item-not-loanable-block
Override permissions:
- circulation.override-patron-block
- circulation.override-item-limit-block
- circulation.override-item-not-loanable-block
TestRail: Results
Attachments
Issue Links
- blocks
-
UICHKOUT-678 Not loanable: Allow for override when item is not loanable
-
- Closed
-
-
UICHKOUT-680 Remove override endpoint
-
- Closed
-
-
UICHKOUT-688 Patron blocks: Allow for override of Borrowing when logged in user has credentials
-
- Closed
-
- defines
-
UXPROD-2909 Override at check out for patron and item blocks
-
- Closed
-
- is cloned by
-
CIRC-1062 Renewal endpoints should also override blocks required by the user
-
- Closed
-