]> git.evergreen-ils.org Git - Evergreen.git/commit
Make it possible to suppress IDL fields
authorMike Rylander <mrylander@gmail.com>
Wed, 10 Oct 2012 21:36:52 +0000 (17:36 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 8 Nov 2012 18:22:33 +0000 (13:22 -0500)
commit3146cc79728f20e869f8aa28f5e638ce7ff9545d
tree133a47431ad7a1613bfb766f58b3406f58e23cd9
parent11c87c4f6a47bbfdc85640bc9aead9e542ee3aaf
Make it possible to suppress IDL fields

Some clients of external services, particularly pcrud and reporter-store,
need to be able to access tables that contain columns we'd rather restrict.
For instance, the passwd field on actor.usr.

To effect this feature we provide a blacklist attribute for fields, called
suppress_controller, which works in the same way as the class controller
attribute but names controllers not allowed to use the field.  When the field
is explicitly named in a query (fieldmapper select block or json_query) an
error is thrown, and suppressed fields are ingored in general fieldmapper
search/retreive requests.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/examples/fm_IDL.xml
Open-ILS/examples/fm_IDL.xsd
Open-ILS/src/c-apps/oils_idl-core.c
Open-ILS/src/c-apps/oils_sql.c
Open-ILS/web/reports/xul/source-browse.js
Open-ILS/web/reports/xul/source-setup.js