Workstation, Org Unit, and User Settings
Background
https://bugs.launchpad.net/evergreen/+bug/1750894 - Wishlist: Store web staff workstation settings on the server - Evergreen Release 3.2
Database Tables for Settings
Setting Types:
Settings:
Setting Types: config.org_unit_setting_type
Setting Types: config.usr_setting_type
Setting Types: config.workstation_setting_type
Settings: actor.org_unit_setting
Settings: actor.usr_setting
Settings: actor.workstation_setting
Moving Settings from one Type to another
Cascading Settings
Example: Making Strict Barcode at Checkout true by default
Add the Org Unit setting type
INSERT into config.org_unit_setting_type
SELECT name, label, grp, description, datatype, fm_class
FROM config.workstation_setting_type
WHERE name = 'circ.checkout.strict_barcode'
Example: Making Strict Barcode at Checkout true by default
Set the Org Unit Setting to True
INSERT into actor.org_unit_setting
(org_unit, name, value)
VALUES
(1,'circ.checkout.strict_barcode',true)
Example: Making Strict Barcode at Checkout true by default
Optionally, remove the workstation level settings, but leave the setting type
DELETE from actor.workstation_setting
WHERE name = 'circ.checkout.strict_barcode'
This allows per workstation settings
Example: Making Strict Barcode at Checkout true by default
Optionally, remove the workstation level setting type and all workstation settings
DELETE from config.workstation_setting_type
WHERE name = 'circ.checkout.strict_barcode'
Removing the setting type deletes all the saved workstation settings, forcing all workstations to use the org unit setting. The setting can’t be saved per workstation.
Example: Changing Default Search Library from Workstation to User
INSERT into config.usr_setting_type
SELECT name, label, grp, description, datatype, fm_class
FROM config.workstation_setting_type
WHERE name = 'eg.search.search_lib'
DELETE from config.workstation_setting_type
WHERE name = 'eg.search.search_lib'
Users can set the setting themselves, or values can be inserted into actor.usr_setting.
Disclaimer: This is untested!