This prevents the acq unified_search method from returning anything other user/jamesrf/lp884991-acq-gen-search-perms
authorJames Fournie <jfournie@sitka.bclibraries.ca>
Tue, 1 Nov 2011 23:01:57 +0000 (16:01 -0700)
committerJames Fournie <jfournie@sitka.bclibraries.ca>
Tue, 1 Nov 2011 23:01:57 +0000 (16:01 -0700)
commit023a708b3ac150b69c9e808f56839dd460aaa2cf
tree5ca74b24c605f313144c09a695c41579ab12cc26
parent8399d37d204e7190d4f1cb1c8efe245d3bdda94c
This prevents the acq unified_search method from returning anything other
than the objects of the expected type.

This is to address LP 884991 in which Acq users get a perm error for each
result of a search that they don't have access to retrieve.  They shouldn't
even know about the existence of anything they don't have access to retrieve.

Signed-off-by: James Fournie <jfournie@sitka.bclibraries.ca>
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Search.pm