[ 
https://issues.apache.org/jira/browse/JENA-2109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17351100#comment-17351100
 ] 

ASF subversion and git services commented on JENA-2109:
-------------------------------------------------------

Commit 041ec2662633007500e20023f373a9f39a649955 in jena's branch 
refs/heads/main from Claude Warren
[ https://gitbox.apache.org/repos/asf?p=jena.git;h=041ec26 ]

Merge pull request #1006 from Claudenw/permissionsV4_main

JENA-2109: Permissions v4 main

closes JENA-2109

> 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)

Reply via email to