Kyle M Hall
92782d3832
This development will add the ability for a new patron to register himself or herself. The self-registration will attempt to match this newly inputted data to any existing patrons and if any possible matches are found, ask if the patron is sure he or she doesn't already have an account at the library. A system preference may be set to prevent patron self-registration if the system detects the possibility that the person may already have an account. Once the patron has registered, passing a captcha (or similar bot-stopper), the patron will then be optionally verified a second time via email. At this point, the patron will be able to print a temporary library card (optional by system preference), and will be provided any details necessary to access electronic resources (this body of text would be a template in the slips and notices system). At the library's choice, this new patron would either be set to a temporary patron status (patron type set via system preference), or a fully-fledged patron (allow patron type to be determined by age and/or other attributes). Assuming the library uses temporary patron types for OPAC registrations, this patron will next enter a queue and would need to physically enter the library to verify himself and become a fully-fledged patron (most likely by bringing in physical proof of address, etc.). The librarian would look up the patron record and modify the patron type. If a temporary patron has not been verified within a certain time frame (defined by a system preference), the patron record will be deleted from the system via a cron job. For registered patrons, the system will allow each person to also update his or her personal data via the OPAC. When a patron updates his or her information, the changes will be entered into a queue to be verified by a librarian (preventing a patron from inputting obviously bogus data). The staff client home page will display the number of patron records with changes awaiting approval. A librarian would then be able to click through a list of modification requests, and approve or deny each (with approval and denial alerts being sent to the patron via the standard messaging system). NEW SYSTEM PREFERENCES * PatronSelfRegistration * PatronSelfRegistrationDetectDuplicates * PatronSelfRegistrationVerifyByEmail * PatronSelfRegistrationPrintTemporaryCard * PatronSelfRegistrationUseTemporaryStatus * PatronSelfRegistrationExpireTemporaryAccountsDelay NEW NOTICE * Verify by email notice NEW SLIP * Temporary card slip NEW CRON JOB * delete_expired_opac_registrations.pl - Deletes patrons that have not been upgraded from the temporary status within the specified delay * delete_unverified_opac_registrations.pl - Deletes the unverified patrons based on the length of time specified in the PatronSelfRegistrationExpireTemporaryAccountsDelay The patron will register from self_registration.pl, linked off opac-main.pl if enabled. The registration page will be translatable to other languages in the same way that existing templates are. Test Plan: 1) Enable PatronSelfRegistration 2) Set PatronSelfRegistrationExpireTemporaryAccountsDelay to a number of days 3) Create a self-registered borrower category 4) Set PatronSelfRegistrationUseTemporaryStatus 5) Set PatronSelfRegistrationVerifyByEmail to "Don't require" 6) Go to OPAC, log out if logged in. 7) You should see the "Register here" link below the login box 8) Attempt to register yourself 9) Verify you can log in with your temporary password. 10) Set PatronSelfRegistrationVerifyByEmail to "Require" 11) Attempt another self-registration 12) Check the messages table, you should see a new message with a verification link. 13) Copy and paste the link into a web browser to verify the registration 14) Log in with the given credentials to verify the account was created. Test Plan - Part 2 - Borrower Modifications 1) Log in to OPAC, go to "my personal details" tab. 2) Make some modifications to your details. 3) Repeat steps 1 and 2 for two more borrowers. 4) Log in to Koha intranet with a user that can modify borrowers. 5) At the bottom of mainpage.pl, you should see: Patrons requesting modifications: 3 6) Click the link 7) Approve one change, deny a different one, and ignore the third, then submit. 8) Check the records, you should see the changes take affect on the approved one, and no changes to the other two. You should also see "Patrons requesting modifications: 1" at the bottom of mainpage.pl now. Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Owen Leonard <oleonard@myacpl.org> Bug 7067 - OPAC Borrower Self Registration - Followup * Rename PatronSelfRegistrationUseTemporaryStatus to PatronSelfRegistrationDefaultCategory * Hide register link unless PatronSelfRegistrationDefaultCategory is set. * Add invalid token page * Add documentation and switches to cron scripts * Add required fields check for editing exiting patrons * Don't force require email address for existing patrons when PatronSelfRegistrationVerifyByEmail is enabled. Signed-off-by: Owen Leonard <oleonard@myacpl.org> Passed-QA-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
180 lines
7.6 KiB
Text
180 lines
7.6 KiB
Text
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Koha staff client</title>
|
|
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/mainpage.css" />
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
<style type="text/css"> </style>
|
|
|
|
</head>
|
|
<body id="main_intranet-main" class="main">
|
|
[% INCLUDE 'header.inc' %]
|
|
[% INCLUDE 'home-search.inc' %]
|
|
|
|
<div id="breadcrumbs" >Home</div>
|
|
|
|
|
|
<div id="doc3" class="yui-t3">
|
|
<div id="bd" role="main">
|
|
<div id="yui-main">
|
|
<div class="yui-b"><div class="yui-g">
|
|
[% IF adminWarning %]
|
|
<div id="adminwarning" class="dialog alert">
|
|
<p><strong>Warning:</strong> You're logged in with the database administrator account. This a bad idea, and you are likely to encounter problems.</p>
|
|
<p>You should <a href="/cgi-bin/koha/members/memberentry.pl?op=add">create a patron</a> to use when administering Koha and give it superlibrarian permissions.</p>
|
|
</div>
|
|
[% END %]
|
|
<div class="yui-u first">
|
|
|
|
<div id="area-list-left">
|
|
<ul class="biglinks-list">
|
|
[% IF ( CAN_user_circulate ) %]
|
|
<li>
|
|
<a class="icon_general icon_circulation" href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
|
|
</li>
|
|
[% END %]
|
|
|
|
[% IF ( CAN_user_borrowers ) %]
|
|
<li>
|
|
<a class="icon_general icon_patrons" href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
|
|
</li>
|
|
[% END %]
|
|
|
|
[% IF ( CAN_user_catalogue ) %]
|
|
<li>
|
|
<a class="icon_general icon_search" href="/cgi-bin/koha/catalogue/search.pl">Advanced search</a>
|
|
</li>
|
|
[% END %]
|
|
|
|
<li>
|
|
<a class="icon_general icon_lists" href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a>
|
|
</li>
|
|
|
|
[% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items ) %]
|
|
<li>
|
|
<a class="icon_general icon_cataloging" href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>
|
|
</li>
|
|
[% END %]
|
|
|
|
[% IF ( CAN_user_editauthorities ) %]
|
|
<li>
|
|
<a class="icon_general icon_authorities" href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a>
|
|
</li>
|
|
[% END %]
|
|
</ul>
|
|
</div><!-- /area-list-left -->
|
|
</div><!-- /yui-u first -->
|
|
<div class="yui-u">
|
|
<div id="area-list-right">
|
|
<ul class="biglinks-list">
|
|
[% IF ( CAN_user_serials ) %]
|
|
<li>
|
|
<a class="icon_general icon_serials" href="/cgi-bin/koha/serials/serials-home.pl">Serials</a>
|
|
<span class="biglink"></span>
|
|
</li>
|
|
[% END %]
|
|
|
|
[% IF ( CAN_user_acquisition ) %]
|
|
<li>
|
|
<a class="icon_general icon_acquisitions" href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
|
|
<span class="biglink"></span>
|
|
</li>
|
|
[% END %]
|
|
|
|
[% IF ( CAN_user_reports ) %]
|
|
<li>
|
|
<a class="icon_general icon_reports" href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>
|
|
</li>
|
|
[% END %]
|
|
|
|
[% IF ( CAN_user_parameters ) %]
|
|
<li>
|
|
<a class="icon_general icon_administration" href="/cgi-bin/koha/admin/admin-home.pl">Koha administration</a>
|
|
</li>
|
|
[% END %]
|
|
|
|
[% IF ( CAN_user_tools ) %]
|
|
<li>
|
|
<a class="icon_general icon_tools" href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
|
|
</li>
|
|
[% END %]
|
|
|
|
<li>
|
|
<a class="icon_general icon_koha" href="/cgi-bin/koha/about.pl">About Koha</a>
|
|
</li>
|
|
</ul>
|
|
</div><!-- /area-list-right -->
|
|
</div><!-- /yui-u -->
|
|
</div><!-- /yui-g -->
|
|
<div class="yui-g">
|
|
[% IF ( ( CAN_user_tools_moderate_comments && pendingcomments )
|
|
|| ( CAN_user_tools_moderate_tags && pendingtags )
|
|
|| ( CAN_user_borrowers && pending_borrower_modifications )
|
|
|| ( CAN_user_acquisition && pendingsuggestions ) ) %]
|
|
<div id="area-pending">
|
|
[% IF ( CAN_user_acquisition && pendingsuggestions ) %]
|
|
<div class="pending-info" id="suggestions_pending">
|
|
|
|
<a href="/cgi-bin/koha/suggestion/suggestion.pl">Suggestions pending approval</a>:
|
|
<span class="pending-number-link">[% pendingsuggestions %]</span>
|
|
</div>
|
|
[% END %]
|
|
|
|
[% IF ( CAN_user_tools_moderate_comments && pendingcomments ) %]
|
|
<div class="pending-info" id="comments_pending">
|
|
<a href="/cgi-bin/koha/reviews/reviewswaiting.pl">Comments pending approval</a>:
|
|
<span class="pending-number-link">[% pendingcomments %]</span>
|
|
</div>
|
|
[% END %]
|
|
|
|
[% IF ( CAN_user_tools_moderate_tags && pendingtags ) %]
|
|
<div class="pending-info" id="tags_pending">
|
|
<a href="/cgi-bin/koha/tags/review.pl">Tags pending approval</a>:
|
|
<span class="pending-number-link">[% pendingtags %]</span>
|
|
</div>
|
|
[% END %]
|
|
|
|
|
|
[% IF ( CAN_user_borrowers && pending_borrower_modifications ) %]
|
|
<div class="pending-info">
|
|
<a href="/cgi-bin/koha/members/members-update.pl">Patrons requesting modifications</a>:
|
|
<span class="pending-number-link">[% pending_borrower_modifications %]</span>
|
|
</div>
|
|
[% END %]
|
|
|
|
</div>
|
|
|
|
[% END %]
|
|
|
|
</div>
|
|
[% IF ( IntranetmainUserblock ) %]
|
|
<div class="yui-g" id="area-userblock">
|
|
<div class="user-info">
|
|
[% IntranetmainUserblock %]
|
|
</div>
|
|
</div>
|
|
[% END %]
|
|
</div>
|
|
</div>
|
|
<div class="yui-b"><!-- YOUR NAVIGATION GOES HERE -->
|
|
[% IF ( koha_news_count ) %]
|
|
<div id="area-news">
|
|
<h3><span="news_title">News</span></h3>
|
|
[% FOREACH koha_new IN koha_news %]
|
|
<div class="newsitem" id="news[% koha_new.idnew %]"><h4>[% koha_new.title %]</h4>
|
|
<p>[% koha_new.new %]</p>
|
|
<p class="newsfooter"> Posted on [% koha_new.newdate %]
|
|
[% IF ( CAN_user_tools ) %]
|
|
<a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&id=[% koha_new.idnew %]">Edit</a>
|
|
| <a href="/cgi-bin/koha/tools/koha-news.pl?op=del&ids=[% koha_new.idnew %]">Delete</a>
|
|
| <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form">New</a>
|
|
[% END %]
|
|
</p>
|
|
</div>
|
|
[% END %]
|
|
</div><!-- /koha-news -->
|
|
[% END %]
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- the main div is closed in intranet-bottom.inc -->
|
|
[% INCLUDE 'intranet-bottom.inc' %]
|