[Koha-bugs] [Bug 14957] Write protecting MARC fields based on source of import
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Mar 14 14:32:02 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14957
--- Comment #51 from David Gustafsson <glasklas at gmail.com> ---
Made some small adjustments:
- Removed $options-{filter} arguments from ModBiblioMarc in AddBiblio since
ApplyMarcPermissions is never run on adding new biblios anyways (since no
caller uses it, and marc-xml for current biblionumber will always be empty on
save and ApplyMarcPermissions will bail out anyway), and to provide that
arguments makes things even more confusing.
- Added source => 'batchimport' for staged import batches. So now
ApplyMarcPermissions runs also on staged imports. One thing I did not realize
before is that marc permissions are never enforced adding new biblios, this is
also the case for staged imports. Only if a match is found permissions will be
applied. It would probably be more appropriate to call the current system "Marc
merge rules" or something like that, since it is really a framework for
defining what happens when two marc records are to be merged (and not
"permissions" in the strict sense of the word).
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list