Bug 13417: Allow staff members to manage public lists
authorJonathan Druart <jonathan.druart@biblibre.com>
Fri, 5 Dec 2014 11:30:08 +0000 (12:30 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 13 Feb 2015 16:52:14 +0000 (13:52 -0300)
commit9c65bd8124ad21a96672c76b0ef1e31f80d7f4f3
tree47bd84ca8b84af7491997ce87ddb3825fb67f966
parenta7da45099f49093cc950a1392d6488543af5ddd3
Bug 13417: Allow staff members to manage public lists

Currently a public list can only be deleted by its owner.
This means lists can exist infinitely.
This will introduce a new permission for list. With this permission, a
staff member will be allow to delete any public lists.

Test plan:
1/ Add the manage_shelves permission to a patron.
2/ Login with this patron
3/ Go on the public list view
4/ You should be able to edit all public lists

Followed test plan. Works as expected.
Signed-off-by: Marc Veron <veron@veron.ch>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/VirtualShelves.pm
installer/data/mysql/en/mandatory/userflags.sql
installer/data/mysql/en/mandatory/userpermissions.sql
installer/data/mysql/updatedatabase.pl