Skip to content

Commit

Permalink
Bug 20568: (QA follow-up) Remove api-key management from OPAC
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Cohen Arazi <[email protected]>

Signed-off-by: Jonathan Druart <[email protected]>
  • Loading branch information
tomascohen authored and joubu committed May 9, 2018
1 parent 45841d9 commit 82edceb
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 253 deletions.
7 changes: 0 additions & 7 deletions installer/data/mysql/atomicupdate/bug_20568_api_keys.perl
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,6 @@
});
}

$dbh->do(q{
INSERT IGNORE INTO `systempreferences`
(variable,value,explanation,options,type)
VALUES
('AllowPatronsManageAPIKeysInOPAC', '0', 'If enabled, patrons can manage their own API keys in the OPAC', NULL, 'YesNo');
});

print "Upgrade to $DBversion done (Bug 20568 - Add API key management interface for patrons)\n";
SetVersion($DBversion);
}
1 change: 0 additions & 1 deletion installer/data/mysql/sysprefs.sql
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `
('AllowNotForLoanOverride','0','','If ON, Koha will allow the librarian to loan a not for loan item.','YesNo'),
('AllowOfflineCirculation','0','','If on, enables HTML5 offline circulation functionality.','YesNo'),
('AllowPatronToSetCheckoutsVisibilityForGuarantor', '0', NULL, 'If enabled, the patron can set checkouts to be visible to his or her guarantor', 'YesNo'),
('AllowPatronsManageAPIKeysInOPAC', '0', NULL, 'If enabled, patrons can manage their own API keys in the OPAC', 'YesNo'),
('AllowPKIAuth','None','None|Common Name|emailAddress','Use the field from a client-side SSL certificate to look a user in the Koha database','Choice'),
('AllowPurchaseSuggestionBranchChoice','0','1','Allow user to choose branch when making a purchase suggestion','YesNo'),
('AllowRenewalIfOtherItemsAvailable','0',NULL,'If enabled, allow a patron to renew an item with unfilled holds if other available items can fill that hold.','YesNo'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ Web services:
- pref: "RESTdefaultPageSize"
class: integer
- "per page"
-
- pref: AllowPatronsManageAPIKeysInOPAC
choices:
yes: Allow
no: "Don't allow"
- "patrons to manage their own API keys in the OPAC."
OAI-PMH:
-
- pref: OAI-PMH
Expand Down
10 changes: 0 additions & 10 deletions koha-tmpl/opac-tmpl/bootstrap/en/includes/usermenu.inc
Original file line number Diff line number Diff line change
Expand Up @@ -124,16 +124,6 @@
<a href="/cgi-bin/koha/opac-illrequests.pl">your interlibrary loan requests</a></li>
[% END %]


[% IF Koha.Preference('AllowPatronsManageAPIKeysInOPAC') %]
[% IF apikeysview %]
<li class="active">
[% ELSE %]
<li>
[% END %]
<a href="/cgi-bin/koha/opac-apikeys.pl">your API keys</a>
[% END %]
</li>
</ul>
</div>
[% END %]
110 changes: 0 additions & 110 deletions koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-apikeys.tt

This file was deleted.

119 changes: 0 additions & 119 deletions opac/opac-apikeys.pl

This file was deleted.

0 comments on commit 82edceb

Please sign in to comment.