]> git.koha-community.org Git - koha.git/commit
Bug 11866: do not require special permissions to view course reserves in staff interface
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 27 Feb 2014 13:55:22 +0000 (08:55 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 10 Mar 2014 14:46:44 +0000 (14:46 +0000)
commit9e5fcb0d5dd230946719ee4825a3d41bd18effe7
tree1be75fb2570804b6ea5c92c97ce36b18ea306398
parent9ca12df4a006901b1f4710f364e3acc0259e46a1
Bug 11866: do not require special permissions to view course reserves in staff interface

A librarian with no course reserves permissions cannot view course
reserves from the staff intranet, yet can from the OPAC. This doesn't
make much sense. Librarians should not require any course reserves
permissions to view courses and reserves from the staff intranet.

Test Plan:
1) Log into staff intranet as a librarian with no course reserves
   permissions
2) Note you cannot view course reserves
3) Apply this patch
4) Note you can now view course reserves
5) Verify you cannot modify courses or course reserves

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Bug 11866 [Follow-up] Staff side course reserves too restrictive

This follow-up patch adds a check for the "UseCourseReserves" system
preference to the display of the Course reserves menu item in the
header.

To test, view the "More" menu with the "UseCourseReserves" system
preference on and off. The menu item should appear and disappear
accordingly.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
course_reserves/course-reserves.pl
koha-tmpl/intranet-tmpl/prog/en/includes/header.inc
koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt