Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Jena 4.0.0
-
None
Description
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 change also brings the Permissions package into version 4. Prior to this change it had not been migrated.
Attachments
Issue Links
- links to