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

Spot problematic patters with RepoInit Analyzer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Feature Model Analyser
    • None

    Description

      karlpauls, as discussed i would like to suggest to add a bit of additional analysis to the repo-init checks in the feature model analyzer.

      the following features in repo-init should IMHO trigger a warning or fail the analyser:

      • regular user creation with password
      • ac-handling defined with access control setup that is present in the parser but luckily not implemented in the jcr-part (see SLING-6423)
      • ac-line with unsupported remove (afaik only the remove * is implemented so far in jcr-repo-init)
      • ac-line with deny entry for principal-based setup (throws exception in jcr-repo-init)
      • resource-based access control setup with service users (maybe too AEM specific where principal-based-ac-setup should be used for service users)
      • minor: duplicate set ACL for principalName statements for the same principal that could be merged into a single set-acl-...-end block

      Attachments

        1. SLING-10184-initial-draft.patch
          12 kB
          Angela Schreiber

        Activity

          People

            Unassigned Unassigned
            angela Angela Schreiber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: