You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2012/06/06 15:17:23 UTC

[jira] [Commented] (JCR-3272) EventConsumer.canRead() should rely on AccessManager.isGranted()

    [ 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