[Koha-bugs] [Bug 20568] Add API key management interface for patrons

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 17 16:50:31 CEST 2018


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

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #74254|0                           |1
        is obsolete|                            |
  Attachment #74255|0                           |1
        is obsolete|                            |
  Attachment #74256|0                           |1
        is obsolete|                            |
  Attachment #74257|0                           |1
        is obsolete|                            |
  Attachment #74258|0                           |1
        is obsolete|                            |
  Attachment #74259|0                           |1
        is obsolete|                            |

--- Comment #20 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 74343
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74343&action=edit
Bug 20568: API keys management in interface

This introduces the concept of API keys for use in the new REST API.
A key is a string of 32 alphanumerical characters (32 is purely
arbitrary, it can be changed easily).
A user can have multiple keys (unlimited at the moment)
Keys can be generated automatically, and then we have the possibility to
delete or revoke each one individually.

Test plan:
1/ Go to staff interface
2/ Go to a borrower page
3/ In toolbar, click on More -> Manage API keys
4/ Click on "Generate new key" multiple times, check that they are
   correctly displayed under the button, and they are active by default
5/ Revoke some keys, check that they are not active anymore
6/ Delete some keys, check that they disappear from table
7/ Go to opac interface, log in
8/ In your user account pages, you now have a new tab to the left "your
   API keys". Click on it.
9/ Repeat steps 4-6

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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


More information about the Koha-bugs mailing list