Galen Charlton / Equinox Software, Inc.
For every bit of patron data, we should know
[sip2]
client = yes
accept = 127.0.0.1:6001
connect = old_dog_new_tricks.evergreencatalog.com:6443
hostssl evergreen circreports 192.168.20.1/32 md5
hostnossl evergreen circreports 192.168.20.1/32 reject
sslmode=verify-ca
sslmode=verify-full
CREATE USER circreports ENCRYPTED PASSWORD 'a_good_pw';
GRANT USAGE ON SCHEMA action TO circreports;
GRANT SELECT ON action.circulation TO circreports;
CREATE OR REPLACE VIEW extend_reporter.current_loan_demographics AS
SELECT xact_start,
due_date,
checkin_time,
pgt.name AS patron_profile,
acp.circ_modifier,
acpl.name AS shelving_location
FROM action.circulation circ
JOIN actor.usr au ON (circ.usr = au.id)
JOIN permission.grp_tree pgt ON (au.profile = pgt.id)
JOIN asset.copy acp ON (acp.id = circ.target_copy)
JOIN asset.copy_location acpl ON (acpl.id = acp.location);
GRANT USAGE ON SCHEMA extend_reporter TO circreports;
GRANT SELECT ON extend_reporter.current_loan_demographics circreports;
Galen Charlton
Equinox Software, Inc.
gmc@esilibrary.com
@gmcharlt