[Koha-bugs] [Bug 30933] Add a designated owner for shared and public lists at patron deletion
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jul 6 22:05:59 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30933
David Nind <david at davidnind.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |david at davidnind.com
Text to go in the|This report adds pref |This enhancement enables
release notes|ListOwnerDesignated. It |the transfer of public list
|serves as the new owner of |ownership when a patron is
|public or shared lists when |deleted (from both the
|a patron is deleted as long |staff interface, and
|as |scripts or cron jobs such
|ListOwnershipUponPatronDele |as
|tion has been set to |misc/cronjobs/delete_patons
|transfer.
|.pl). A new system
|
|preference
|Another |ListOwnershipUponPatronDele
|advantage is that deleting |tion sets the action to
|patrons in scripts or cron |take when a patron with
|jobs now allows you to |public lists is deleted
|preserve their public or |(options: delete the lists
|shared lists. |or change owner of these
| |lists). If set to change
| |the owner, then the lists
| |are transferred to the
| |borrower number set in the
| |new ListOwnerDesignated
| |system preference.
--- Comment #12 from David Nind <david at davidnind.com> ---
Testing notes (using koha-testing-docker):
1. Test plan correction for patch Bug 30933: Change for patron->delete, the
script name at the end to delete patrons is not spelt correctly - this should
be ..patrons.pl.. not patons.pl:
misc/cronjobs/delete_patons.pl -c -v -library YOUR_CODE
2. Testing that lists continue to work after transfer from the staff interface:
. Can delete public lists as the super librarian (koha)
. Can transfer
. Can edit
. Can't add or remove items if 'Allow changes to contents from:' is set to
'Owner only', but can change this then add or remove items
2. Testing that lists continue to work as expected after transfer from the
OPAC:
. If changes can only be made by the owner, another OPAC user can't make any
changes (as expected)
. If changes can be made by anyone seeing the list, another OPAC user can
add and remove items from the list (as expected), can't delete or edit the list
(as expected)
. If changes can be made by staff only, then they can only delete, edit,
etc., if they have the correct permissions (as expected)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list