Sling initial content loading - how to set access permissions?
I have a bundle that was generated by the Maven sling-initial-content archetype, that means the content is imported into the repository when the bundle gets installed. I want anonymous users to be able to add child nodes to a specific node and I want to set these permissions automatically on bundle installation. I tried the following (stored as a JSON file in the content directory), but it generates an error: "Cannot load initial content for bundle com.example.acltest : Unable to perform operation. Node is protected." { "jcr:primaryType": "nt:unstructured", "jcr:mixinTypes": ["rep