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

Add support to set ACE restrictions from contentloader

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JCR ContentLoader 2.2.6
    • JCR ContentLoader 2.3.0
    • None
    • None

    Description

      Support for write of restrictions on the ACE has not yet been implemented in the sling jcr.contentloader bundle. 
       
      However it looks like adding support for write of ACE restrictions would not be too difficult and it looks like it could be useful to the community.
       
      It looks like changes would be needed in a few bundles, specifically these:
       
      1. org.apache.sling.jcr.base  ( see SLING-8139  )
          a) Changes to the AccessControlUtil addEntry/replaceAccessControlEntry methods to support passing in and processing of restrictions
      2. org.apache.sling.jcr.contentloader
          a) Changes to the ContentCreator and JsonReader to support reading restrictions from the JSON and applying them while loading content into the repository
      3. Plus some automated tests and updated documentation...
       
      SLING-6422 appears to have already added support for setting restrictions for the repoinit style of ACE initialization

      Attachments

        Issue Links

          Activity

            People

              enorman Eric Norman
              enorman Eric Norman
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: