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