Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6356

Allow CompositePermissionProvider to OR entries

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.3, 1.8.0
    • core, security
    • None

    Description

      Currently the CompositePermissionProvider ANDs the entries and if any of those denies a check, all the chain will fail early. I'd like to extend this mechanism to 'OR' items if needed.
      A first application of this ORing could be the multiplexed permission store where the default store could deny a check but a mount could allow it, so it could be seen as valid.

      Attachments

        1. OAK-6356.patch
          100 kB
          Alex Deparvu
        2. OAK-6356-v2.patch
          101 kB
          Alex Deparvu

        Issue Links

          Activity

            People

              stillalex Alex Deparvu
              stillalex Alex Deparvu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: