Preserving ACLs by in order to use the templates on a publish environment
De Basef
To use use Editable Templates it is necessary to preserve ACLs (Access Control Lists) in order to use the templates on a publish environment. Make the following updates to the ui.apps pom.xml file:
<plugin> <groupId>com.day.jcr.vault</groupId> <artifactId>content-package-maven-plugin</artifactId> <extensions>true</extensions> <configuration> <group>aem-guides/wknd</group> <filterSource>src/main/content/META-INF/vault/filter.xml</filterSource> <properties> <acHandling>merge_preserve</acHandling> </properties> <embeddeds> <embedded> <groupId>com.adobe.aem.guides</groupId> <artifactId>wknd-sites-guide.core</artifactId> <target>/apps/wknd/install</target> </embedded> </embeddeds> <targetURL>http://${crx.host}:${crx.port}/crx/packmgr/service.jsp</targetURL> </configuration> </plugin>
Note the `properties` and `acHandling` tags.