pcrud fleshing
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Tue, 25 Oct 2011 21:01:04 +0000 (17:01 -0400)
committerMike Rylander <mrylander@gmail.com>
Fri, 16 Mar 2012 14:57:27 +0000 (10:57 -0400)
commit23772cff945826713522aacb89ff319ba290aca7
tree5eb366cc011dba7386a546b939e49dcb72d29964
parente43d36f8431c1a34b4b5b85286b0302d77ddd928
pcrud fleshing

This allows fleshing in pcrud queries if
a) the objects you would flesh have a pcrud controller in the IDL,
b) you have permissions for all the objects you would flesh just as
   you would have to have them if you asked for them directly.

This is harder to read than it might be because of efforts to avoid
redundant perm checks for every fleshed object of the same class, and
efforts to keep results streaming out quickly.

Tests pretty well for me, but more rigor appreciated.

I received lots of help in making this happen from Mike Rylander and
Bill Erickson.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/c-apps/oils_sql.c