[Koha-bugs] [Bug 31791] Add the ability to lock records to prevent modification through the Koha staff interface(s)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 18 21:30:16 CET 2024


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

--- Comment #7 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 163371
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163371&action=edit
Bug 35919: Add Koha::Biblio::Metadata->source_allows_editing

This patch adds a convenient method that tells if the record is
editable, according to it's record source.

To test:
1. Apply this patch
2. Run:
   $ ktd
  k$ prove t/db_dependent/Koha/Biblio/Metadata.t
=> SUCCESS: Tests pass! Use cases covered!
3. Sign off :-D

Signed-off-by: Matt Blenkinsop <matt.blenkinsop at ptfs-europe.com>

Bug 31791: Rename can_be_edited -> source_allows_editing

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


More information about the Koha-bugs mailing list