Backport security fix r16747 from trunk
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 18 Jun 2010 04:46:20 +0000 (04:46 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 18 Jun 2010 04:46:20 +0000 (04:46 +0000)
commit4cfa03d9cfa4742120b41f194fe5896597057783
treeac5af9ee8a46d18cfce04c3d71c7d1ad821c3b54
parenta64ee2f83b34e110cc159632863b5f35dc1da0b3
Backport security fix r16747 from trunk

1. Disable fleshing for PCRUD.  Otherwise fleshing would provide a
back door whereby a user could see stuff he has no permission to see.

2. For the id_list method: strip out the "flesh_fields" entry, not
the "flesh_columns" entry (which doesn't exist).  This actually makes
no difference, but if we're going to do something useless, we might
as well do it right.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@16748 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/c-apps/oils_cstore.c