Bug 19524: Share patron lists between staff
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 7 Jun 2018 12:16:18 +0000 (12:16 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 18 Jul 2018 16:49:29 +0000 (16:49 +0000)
commite2e0c327019d43554bc6ec8a69ee5835c94f2e0e
tree40c9e2c754835b0b0992786834f353ed3726fc37
parent2e610a370bcc63dba27ec94d77996fd7dc4204d6
Bug 19524: Share patron lists between staff

Some libraries would like to allow arbitrary lists to be used by all
librarians with the 'manage_patron_lists' permission.

Test Plan:
1) Apply this patch
2) Run updatedatabase.pl
3) Create or find two patrons with the manage_patron_lists permission
4) Using the first patron, create two new lists, mark one of them as
   shared
5) Log in as the second patron, browse to the patron lists page
6) Note the second patron can view, add and remove patrons from
   the shared list owned by the first patron

Signed-off-by: George Williams <george@nekls.org>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/List/Patron.pm
koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/add-modify.tt
koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt
patron_lists/add-modify.pl
patron_lists/lists.pl
t/db_dependent/PatronLists.t