Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-8535

RepoInit register privilege fails if privilege already exists

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Repoinit JCR 1.1.10
    • Repoinit JCR 1.1.12
    • Repoinit
    • None

    Description

      The PrivilegeVisitor does assume that a registerPriv does work if the priv is already defined. That is wrong as at least currently, it throws an implementation specific exception. We need to check if the priv exists first as a consequence as repoinit needs to be idempotent.

      Attachments

        Activity

          People

            karlpauls Karl Pauls
            karlpauls Karl Pauls
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: