User activity tracking / last activity date
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
* Evergreen master
* Depends on bug #917199 (OpenSRF ingress tracking)
The linked branch adds support for tracking configurable types of user activity. When a given type of activity occurs within the system, an entry is added to the database indicating the user, the type of activity (opac login, etc.), the source of the activity (opac, staff client, selfcheck, a 3rd party, etc.) and entry point into the system (gateway, sip2, xmlrpc, etc.).
For added privacy, activity types can be configured as transient, where only the last occurrence of the activity is kept in the database. Activity types can also be disabled completely.
The staff clients gains a new field in the patron summary display which shows the last activity date. It also gets a new administrative interface for managing the activity types.
Staff with reporting permissions can view the full set of tracked activity.
Tracking is managed with two new DB tables / IDL classes: config.
This is a fairly extensive change, so testing and eyes very much appreciated.
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
I don't see any changes to SIP2 to actually trigger SIP logins outside of the SIP2 connections themselves.
From what I know, SIP2 currently doesn't require password verification and when it does verify passwords for patrons it does so with direct MD5 checking, without consulting the auth service at all. It thus likely needs special case code for this tracking. It may also be nice if an institution level variable existed to determine what patron level requests to SIP2 use for the tracking agent.