]> git.evergreen-ils.org Git - working/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:20:58 +0000 (13:20 -0500)
commitdf05ae28be786df311679e07f58cc2c50d976b11
tree4a4a8b6ef9e37a378f57fc9c2ebf81ad28b2dce3
parentcfca470055f1f3f88d83f751caa13dfc63af0678
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