Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3272

EventConsumer.canRead() should rely on AccessManager.isGranted()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2
    • 2.4.2, 2.5
    • jackrabbit-core
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mreutegg Marcel Reutegger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: