[Bug 4289] New: Add a syspref 'OpacNotPublic', to hide OPAC search-bar and force authentication on all OPAC pages
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4289 Summary: Add a syspref 'OpacNotPublic', to hide OPAC search-bar and force authentication on all OPAC pages Product: Koha Version: rel_3_4 Platform: PC OS/Version: All Status: NEW Severity: enhancement Priority: P3 Component: OPAC AssignedTo: oleonard@myacpl.org ReportedBy: mason@kohaaloha.com Estimated Hours: 0.0 Change sponsored?: Sponsored Here's the description from bob@calyx "Most libraries are happy for the public to come to the OPAC and search the catalogue without being logged in. Others however (corporate libraries, private colleges) require the user to be logged in before the collection or any functionality is exposed. Koha currently supports the first approach. The second approach is achievable by adding jquery to the template (won't stop hacking) or by editing the perl code to set 'authnotrequired' value to '0' per page. Neither way is user-friendly or produces an elegant display. We propose adding a syspref 'OpacNotPublic' or similar which when set to 'OFF' will cause no change to current behaviour. When set to 'ON' a different template will be called by opacmain.pl that will display: - a login prompt similar to that for the staff client; - the value of opacsmallimage; - the value of opacheader; - the value of opaccredits. Not displayed on this page will be: - the search bar and the cart and list buttons; - the value of opacnav; - the value of opacmainuserblock. Upon logging in, the user is directed to 'opac-user.pl' as is the case now. Before we lodge on Bugzilla, are there any comments? Bob Birchall CALYX " -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4289 --- Comment #1 from Mason James <mason@kohaaloha.com> 2010-03-02 12:17:17 --- Created an attachment (id=1714) --> (http://bugs.koha.org/cgi-bin/bugzilla3/attachment.cgi?id=1714) Patch for enhancement -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4289 --- Comment #2 from Mason James <mason@kohaaloha.com> 2010-03-02 12:25:42 --- Created an attachment (id=1715) --> (http://bugs.koha.org/cgi-bin/bugzilla3/attachment.cgi?id=1715) screenshot a screenshot with the 'OpacNotPublic' syspref ON. OPAC search-bar and buttons are hidden, and user authentication is now forced for all OPAC pages. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4289 Mason James <mason@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |PATCH-Sent -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla-daemon@kohaorg.ec2.liblime.com