[Koha-bugs] [Bug 26181] Holds placed via the REST API should not be forced by default even if AllowHoldPolicyOverride is enabled

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 11 15:53:39 CET 2021


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

--- Comment #9 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
(In reply to Tomás Cohen Arazi from comment #3)
> I left the AllowHoldPolicyOverride name in the x-koha-override header on
> purpose. To have less friction on this patches.
> But I really preferred something like 'holds-policy'. Food for thought.

I'm tempted by the actual rule/policy failure names being in x-koha-override..
and in this case as the override is only available as a 'all or nothing' we
should start with a special 'any' rule.


So

x-koha-override: [ any ] # Meaning, override whatever we failed for

in the future

x-koha-override: [ any, damaged_item, transfer_restriction, age_restriction,
etc, etc ] # An override per policy violation error that can be thrown and
individually override.

Thoughts?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list