<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: RepoInit Configuration is not able to set ACL: read p... in Adobe Experience Manager Questions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/repoinit-configuration-is-not-able-to-set-acl-read-permission-of/m-p/404142#M5487</link>
    <description>&lt;P&gt;Hi &lt;LI-USER uid="17392505"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/libs/dam/content&lt;/STRONG&gt; - This is a valid path still it gives the error.&lt;/P&gt;&lt;P&gt;but when I try to use some path under &lt;STRONG&gt;/conf&lt;/STRONG&gt; it works!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looks like it's an issue with AACS and we might need to reach out to Adobe and see why it does not work based on the documentation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also I tried to move the configs to ui.config and dpeloyed which did not solve the issue.&lt;/P&gt;&lt;P&gt;Can you also give a try and see if it works for you?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="asutosh_j3_0-1618578454489.png" style="width: 400px;"&gt;&lt;img src="https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/30799iF3B2FCA94DC1142D/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="asutosh_j3_0-1618578454489.png" alt="asutosh_j3_0-1618578454489.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 16 Apr 2021 13:08:04 GMT</pubDate>
    <dc:creator>Asutosh_Jena_</dc:creator>
    <dc:date>2021-04-16T13:08:04Z</dc:date>
    <item>
      <title>RepoInit Configuration is not able to set ACL: read permission of a system user in AEM As a Cloud Service</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/repoinit-configuration-is-not-able-to-set-acl-read-permission-of/m-p/404058#M5484</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having one config&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;"org.apache.sling.jcr.repoinit.RepositoryInitializer"&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;and in that I am trying to set&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;"set ACL for test-user \r\nallow jcr:read on /libs/dam/content". While deploying the changes in local, it gets deployed easily, but when I deploy this config with my codebase in AEM AACS Server,&amp;nbsp; it says&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;[Apache Sling Repository Startup Thread #1] com.adobe.granite.repository.impl.SlingRepositoryManager Exception in a SlingRepositoryInitializer, SlingRepository service registration aborted java.lang.RuntimeException: Failed to set ACL (java.lang.UnsupportedOperationException: This builder is read-only.) AclLine ALLOW {paths=[/libs/dam/content], privileges=[jcr:read]} at org.apache.sling.jcr.repoinit.impl.AclVisitor.setAcl(AclVisitor.java:64) [org.apache.sling.jcr.repoinit:1.1.28] at org.apache.sling.jcr.repoinit.impl.AclVisitor.visitSetAclPrincipal(AclVisitor.java:85)&lt;/STRONG&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;[org.apache.sling.jcr.repoinit:1.1.28]&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;To summerize,&amp;nbsp;&lt;SPAN&gt;The issue is while cloud manager deploy my codebase with the repoinit config, it fails at deploy to dev step and says I can't set read access to /libs hierarchy. Ideally AEM says I can do that at the time of deployment, but not at the runtime&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;By seeing the below document, it feels like it should work because I am expecting it to set this permission at deployment time.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shivanigarg111_0-1618544020728.png" style="width: 400px;"&gt;&lt;img src="https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/30783iF28411951F776DCD/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="shivanigarg111_0-1618544020728.png" alt="shivanigarg111_0-1618544020728.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 03:35:47 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/repoinit-configuration-is-not-able-to-set-acl-read-permission-of/m-p/404058#M5484</guid>
      <dc:creator>shivanigarg111</dc:creator>
      <dc:date>2021-04-16T03:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: RepoInit Configuration is not able to set ACL: read p...</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/repoinit-configuration-is-not-able-to-set-acl-read-permission-of/m-p/404063#M5485</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="17392505"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried with the below script and getting a different error though.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;create &lt;/SPAN&gt;service user test-user&lt;BR /&gt;&lt;SPAN&gt;set &lt;/SPAN&gt;ACL on /libs/dam/content&lt;BR /&gt;&lt;SPAN&gt;allow &lt;/SPAN&gt;jcr:read for test-user&lt;BR /&gt;&lt;SPAN&gt;end&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Error:&lt;/P&gt;&lt;P&gt;INFO:&amp;nbsp;Adding ACL 'allow' entry '[jcr:read]' for [test-user] on [/libs/dam/content]&lt;/P&gt;&lt;P&gt;ERROR: Failed to set ACL (javax.jcr.PathNotFoundException: Cannot set ACL on non-existent path /libs/dam/content) AclLine ALLOW {principals=[test-user], privileges=[jcr:read]}&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Debugging further. Will keep posted if I find anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 06:24:29 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/repoinit-configuration-is-not-able-to-set-acl-read-permission-of/m-p/404063#M5485</guid>
      <dc:creator>Asutosh_Jena_</dc:creator>
      <dc:date>2021-04-16T06:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: RepoInit Configuration is not able to set ACL: read p...</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/repoinit-configuration-is-not-able-to-set-acl-read-permission-of/m-p/404072#M5486</link>
      <description>&lt;LI-USER uid="7532759" login="asutosh_j3"&gt;&lt;/LI-USER&gt; try to set Read permission to an existing path under /libs.</description>
      <pubDate>Fri, 16 Apr 2021 06:40:09 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/repoinit-configuration-is-not-able-to-set-acl-read-permission-of/m-p/404072#M5486</guid>
      <dc:creator>shivanigarg111</dc:creator>
      <dc:date>2021-04-16T06:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: RepoInit Configuration is not able to set ACL: read p...</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/repoinit-configuration-is-not-able-to-set-acl-read-permission-of/m-p/404142#M5487</link>
      <description>&lt;P&gt;Hi &lt;LI-USER uid="17392505"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/libs/dam/content&lt;/STRONG&gt; - This is a valid path still it gives the error.&lt;/P&gt;&lt;P&gt;but when I try to use some path under &lt;STRONG&gt;/conf&lt;/STRONG&gt; it works!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looks like it's an issue with AACS and we might need to reach out to Adobe and see why it does not work based on the documentation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also I tried to move the configs to ui.config and dpeloyed which did not solve the issue.&lt;/P&gt;&lt;P&gt;Can you also give a try and see if it works for you?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="asutosh_j3_0-1618578454489.png" style="width: 400px;"&gt;&lt;img src="https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/30799iF3B2FCA94DC1142D/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="asutosh_j3_0-1618578454489.png" alt="asutosh_j3_0-1618578454489.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 13:08:04 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/repoinit-configuration-is-not-able-to-set-acl-read-permission-of/m-p/404142#M5487</guid>
      <dc:creator>Asutosh_Jena_</dc:creator>
      <dc:date>2021-04-16T13:08:04Z</dc:date>
    </item>
  </channel>
</rss>

