https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18902

Alex Buckley <alexbuck...@catalyst.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #64854|0                           |1
        is obsolete|                            |

--- Comment #3 from Alex Buckley <alexbuck...@catalyst.net.nz> ---
Created attachment 65289
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=65289&action=edit
Bug 18902: Disable access to CourseReserves if syspref off.

* course_reserves/course-reserves.pl: Add syspref check.
* course_reserves/mod_course.pl: Add syspref check.
* opac/opac-course-reserves.pl: Add syspref check.

Test Plan:

- Before applying this patch:
  + Ensure UseCourseReserves is switched off
    + visit OPAC: cgi-bin/koha/opac-course-reserves.pl
    + visit Intranet: /cgi-bin/koha/course_reserves/course-reserves.pl
    + visit Intranet: /cgi-bin/koha/course_reserves/mod_course.pl
    + All will be accessible.

- After applying this patch:
  + Ensure UseCourseReserves is switched off
    + visit OPAC: cgi-bin/koha/opac-course-reserves.pl
    + visit Intranet: /cgi-bin/koha/course_reserves/course-reserves.pl
    + visit Intranet: /cgi-bin/koha/course_reserves/mod_course.pl
    + None will be accessible.
  + Ensure UseCourseReserves is switched on
    + visit OPAC: cgi-bin/koha/opac-course-reserves.pl
    + visit Intranet: /cgi-bin/koha/course_reserves/course-reserves.pl
    + visit Intranet: /cgi-bin/koha/course_reserves/mod_course.pl
    + All will be accessible.

Followed test plan, worked as intended
Signed-off-by: Alex Buckley <alexbuck...@catalyst.net.nz>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to