Details
-
Story
-
Status: Closed (View Workflow)
-
TBD
-
Resolution: Done
-
None
-
None
-
-
EPAM-Veg Sprint 107, EPAM-Veg Sprint 108, EPAM-Veg Sprint 109
-
8
-
Vega
-
R1 2021
-
Medium
Description
Design doc: https://wiki.folio.org/display/DD/Overriding+blocks+in+mod-circulation
Request body of request create/update endpoints (POST /circulation/requests and PUT /circulation/requests) 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", ..... or "all-blocks" ] } }
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
- clones
-
CIRC-1062 Renewal endpoints should also override blocks required by the user
-
- Closed
-
- defines
-
UXPROD-2910 Override of request for patron blocks
-
- Closed
-
- has to be finished together with
-
UIREQ-576 Patron blocks: Allow for override of Requesting when logged in user has credentials
-
- Closed
-
- is blocked by
-
CIRC-1060 Return a full list of errors when create/update request action fails
-
- Closed
-
- relates to
-
UICIRCLOG-51 Add support for circ action "Created through override"
-
- Closed
-
-
MODAUD-57 Add support for log records for requests created through override
-
- Closed
-