You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (Created) (JIRA)" <ji...@apache.org> on 2012/03/22 18:30:23 UTC

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

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


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

        

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

Posted by "Marcel Reutegger (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-3272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger resolved JCR-3272.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.5

Fixed in revision: 1303913
                
> 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

        

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

Posted by "Alex Parvulescu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-3272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Parvulescu updated JCR-3272:
---------------------------------

    Fix Version/s: 2.4.2
    
> 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.4.2, 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

        

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

Posted by "Alex Parvulescu (JIRA)" <ji...@apache.org>.
    [ 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