]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 27 May 2014 12:02:27 +0000 (14:02 +0200)
commit026b757f5cfededb9790e41af2d51c6c7c050408
treea453119296277c4083b261b8dd6bea27dfe995e3
parent1ebb8caa3dc24e62a8c2a3b3273af84c16942981
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>
(cherry picked from commit 9e5fcb0d5dd230946719ee4825a3d41bd18effe7)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.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