[Koha-bugs] [Bug 33268] Overlay rules don't work correctly when source is set to *

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 13 17:41:02 CET 2023


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

--- Comment #6 from David Gustafsson <glasklas at gmail.com> ---
Context is module and filter, so if rules are applied with either z3950 or
batchmod, '*' rules are ignored. '*' rules are only applied if there are no
rules defined for the current context (module + filter). I think I decided on
this so that each context would have a clean slate and though that would be
easier to maintain, not having to undo wildcard rules for a new context, but I
can see how it's not the most intuitive. For our library for example, we want
to protect quite a lot of fields on imports, but want everything to be
overwritable in the staff interface. So we define the "import" rules in the '*'
context, and can just add one tag wildcard rule with for the staff interface to
make everything overwritable again. I think I assumed that would be the most
common use case. Merging in '*' would complicate things for us (but perhaps
make things easier for others). Another reason avoided this was that it
complicates the code quite a bit, but I think it would still be doable.

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


More information about the Koha-bugs mailing list