[Koha-bugs] [Bug 32607] Add import sources CRUD

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 17 14:55:28 CET 2023


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

--- Comment #47 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to David Nind from comment #46)
> Some comments from testing:
> 
> 1. I'm not sure that I understand what this does, but I assume that it sets
> the foundation for being able to limit the editing of bibliographic records
> from specific sources to specific staff patrons. More to come... I'll leave
> it to someone else to write the release note.

Right, this will pair with a new column for the bibliographic metadata table,
telling where the record came from. API requests adding/modifying records will
need to provide the generated token in the headers to be accepted to be
identified as the that particular record source. The patron linking is added so
only that patron is allowed to 'represent' that record source (in case of the
token being shared, etc).

The idea is to later merge the sources listed in the overlay rules as
system-defined sources as well. 

> 2. Tests pass:
>    - prove t/db_dependent/Koha/RecordSource.t
>    - prove t/db_dependent/api/v1/record_sources.t
> 
> 3. Editing a record source - I can't edit Name or User fields (the only two
> options), so I'm not sure why editing is an option, as you get this error
> message: "Something went wrong: Error: Read-only."

This is an error. Will try to take a look ASAP.

> 4. Applying the patch and getting things to work:
>    4.1 Apply the patch: use interactive mode and # out the DBIC patch
>    4.2 Run updatedatabase
>    4.3 Run dbic
>    4.4 reset_all

Thanks for taking your time on this one!

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


More information about the Koha-bugs mailing list