[Koha-bugs] [Bug 13485] Add a page to display links to restricted sites

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 7 17:20:46 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13485

--- Comment #18 from Maxime Beaulieu <maxime.beaulieu at inlibro.com> ---
Created attachment 40822
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40822&action=edit
Bug 13485 - Atomic Update + Rename Proxy page to Restricted page

Test plan:

I) Apply the patch
II) Run updatedatabase.pl

scenario I)

1) Add some content in RestrictedPageContent and RestrictedPageTitle sysprefs.
2) Add your machine ip (ex. 127.0.0)
3) Validate cgi-bin/koha/opac-restrictedpage.pl shows a page with
RestrictedPageContent and RestrictedPageTitle contents.

scenario II)

1) Logout opac page
2) Add some content in RestrictedPageContent and RestrictedPageTitle sysprefs.
3) Add a diffrent ip.
4) Validate: cgi-bin/koha/opac-restrictedpage.pl shows a login page.
5) Validate: cgi-bin/koha/opac-restrictedpage.pl shows a page with
RestrictedPageContent and RestrictedPageTitle contents after login.

    new file:  
installer/data/mysql/atomicupdate/Bug13485_RestrictedSitesPage.sql
    modified:   installer/data/mysql/sysprefs.sql
    modified:  
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
    renamed:    koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-proxypage.tt ->
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-restrictedpage.tt
    renamed:    opac/opac-proxypage.pl -> opac/opac-restrictedpage.pl

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list