jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Parvulescu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCR-3272) EventConsumer.canRead() should rely on AccessManager.isGranted()
Date Wed, 06 Jun 2012 13:17:23 GMT

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

Alex Parvulescu commented on JCR-3272:
--------------------------------------

backported to 2.4 with revision 1346878.
                
> EventConsumer.canRead() should rely on AccessManager.isGranted()
> ----------------------------------------------------------------
>
>                 Key: JCR-3272
>                 URL: https://issues.apache.org/jira/browse/JCR-3272
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.2
>            Reporter: Marcel Reutegger
>            Priority: Minor
>             Fix For: 2.5
>
>
> The current implementation of EventConsumer.canRead() uses
> AccessManager.canRead(), which might cause issues if the item
> does not exist anymore. AccessManager.isGranted() explicitly
> mentions and supports checks on paths for items that do not
> yet exist or not exist anymore.
> See also JCR-3271.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message