]> git.evergreen-ils.org Git - evergreen/tadl.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)
committeresi <esi@asp-tadl-app1.esilibrary.com>
Thu, 17 Jan 2013 17:57:56 +0000 (12:57 -0500)
commitb740e6583c6765bff1f96a660255b46b75193754
treeff6e86e795d1bc36a5777dab7f8046b8a648341a
parentd9ebba598d7cafd6a44a5b6611c7d879722e7b52
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