jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCR-3272) EventConsumer.canRead() should rely on AccessManager.isGranted()
Date Thu, 22 Mar 2012 17:30:23 GMT
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

        

Mime
View raw message