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

PrivilegeBits should also cache default privilege as long values

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 1.10.0, 1.9.10
    • security-spi
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: