[OPEN-ILS-DEV] [OPEN-ILS-GENERAL] 3.2 Notes on browser client settings moving to server
Bill Erickson
berickxx at gmail.com
Fri Aug 3 17:14:20 EDT 2018
On Fri, Aug 3, 2018 at 3:13 PM Kathy Lussier <klussier at masslnc.org> wrote:
> Hi Bill,
>
> 2. A workstation setting can be turned into a user setting by creating a
>> matching user setting type (same setting name) and removing the workstation
>> setting type. Such settings will follow the logged user account instead of
>> the workstation.
>
>
> Can we assume the opposite is true too? While testing, I was thinking that
> some sites may prefer the copy templates to be a workstation setting
> instead of a user setting.
>
Yes, with minor code changes.
The code that's loading the copy templates is specifically requesting user
setting values. If that code were changed to use the new
user-or-workstation-or-yaous API, the existing user setting could be
migrated to a workstation setting. Ditto the code that applies the values.
Generally speaking, we now have:
1. API to set and get user setting values
2. API to get and get org unit setting values
3. NEW API to get org-or-user-or-workstation setting values, depending on
configuration, context, and available data.
4. NEW API to set user-or-workstation setting values, depending on
configuration.
I generally refer to the new stuff (#3 and #4) as Cascade Settings. Any
existing user or org unit setting can be used as a Cascade Setting, if the
caller simply uses the new APIs to manage the code. (Though, only user and
workstation settings can have values applied via the new API).
-b
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20180803/ae3fe817/attachment.html>
More information about the Open-ils-dev
mailing list