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

PrivilegeBits should also cache default privilege as long values

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.10.0, 1.9.10
    • Component/s: security-spi
    • Labels:
      None

      Description

      I would like to add a cache to PrivilegeBits for the 'long' representation of the privileges. The current one is [String -> PrivilegeBits], but the apis allow for creating PrivilegeBits out of long values (depending on the bits operation).

      Also, the existing cache is currently exposed as a public map, this needs to be turned into an immutable version to prevent changes.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: