[
https://issues.apache.org/jira/browse/JENA-2109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claude Warren resolved JENA-2109.
---------------------------------
Resolution: Fixed
> Migrate Permissions to V4 and implement 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
> Priority: Major
> 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 change also brings the Permissions package into version 4. Prior to
> this change it had not been migrated.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)