[open-ils-commits] [GIT] Evergreen ILS branch master updated. 946ded4283a2b3e77ae1369447cfebab750e200a
Evergreen Git
git at git.evergreen-ils.org
Thu Jul 24 12:45:09 EDT 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, master has been updated
via 946ded4283a2b3e77ae1369447cfebab750e200a (commit)
from ff25ed5095f9c7ba2f3df7e6f20ec78e45110bb3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 946ded4283a2b3e77ae1369447cfebab750e200a
Author: Mike Rylander <mrylander at gmail.com>
Date: Tue Jul 8 11:11:54 2014 -0400
LP#1339118: Ignore permission checks for "jump" context
We don't worry about checking permissions on foreign objects when we're
simply using them to get a context OU for the local object permission
testing. The "jump" field just gives us more layers of indirection, and
shouldn't cause a perm check, just like normal foreign context OUs.
Signed-off-by: Mike Rylander <mrylander at gmail.com>
Signed-off-by: Bill Erickson <berick at esilibrary.com>
Signed-off-by: Ben Shum <bshum at biblio.org>
diff --git a/Open-ILS/src/c-apps/oils_sql.c b/Open-ILS/src/c-apps/oils_sql.c
index 6d3d25c..77cb12c 100644
--- a/Open-ILS/src/c-apps/oils_sql.c
+++ b/Open-ILS/src/c-apps/oils_sql.c
@@ -1772,8 +1772,10 @@ static int verifyObjectPCRUD ( osrfMethodContext* ctx, osrfHash *class, const js
_tmp_params = single_hash( foreign_pkey, foreign_pkey_value );
// Do the lookup
+ osrfHashSet((osrfHash*) ctx->session->userData, "1", "inside_verify");
_list = doFieldmapperSearch( ctx, foreign_class_meta,
_tmp_params, NULL, &err );
+ osrfHashSet((osrfHash*) ctx->session->userData, "0", "inside_verify");
// Get the resulting row
jsonObjectFree( _fparam );
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/src/c-apps/oils_sql.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list