Claude Warren created JENA-2109: ----------------------------------- Summary: Permissions should have a soft read error Key: JENA-2109 URL: https://issues.apache.org/jira/browse/JENA-2109 Project: Apache Jena Issue Type: Bug Components: Security Affects Versions: Jena 4.0.0 Reporter: Claude Warren Assignee: Claude Warren Fix For: Jena 4.1.0
JENA-2055 uncovered a difficult to process issue. When permissions to read an object were not granted the system simply threw an ReadDeniedException however, in some cases the desired result is to return an empty iterator. For example if a secured graph is part of a union graph and the user does not have full permissions on the secured graph the query will abort when the first graph access is denied. The desired effect is to return * An empty iterator in cases where an iterator is returned. * False in cases where an existential flag is being checked. * 0 (zero) when a count is being returned. -- This message was sent by Atlassian Jira (v8.3.4#803005)