You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2016/06/22 13:06:06 UTC
svn commit: r1749681 -
/sling/site/trunk/content/documentation/bundles/repository-initialization.mdtext
Author: bdelacretaz
Date: Wed Jun 22 13:06:05 2016
New Revision: 1749681
URL: http://svn.apache.org/viewvc?rev=1749681&view=rev
Log:
tweaks
Modified:
sling/site/trunk/content/documentation/bundles/repository-initialization.mdtext
Modified: sling/site/trunk/content/documentation/bundles/repository-initialization.mdtext
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/bundles/repository-initialization.mdtext?rev=1749681&r1=1749680&r2=1749681&view=diff
==============================================================================
--- sling/site/trunk/content/documentation/bundles/repository-initialization.mdtext (original)
+++ sling/site/trunk/content/documentation/bundles/repository-initialization.mdtext Wed Jun 22 13:06:05 2016
@@ -32,7 +32,6 @@ The language is self-explaining but plea
create service user user1, u-ser_2
set ACL on /libs,/apps
- remove * for user1,u-ser_2
allow jcr:read for user1,u-ser_2
deny jcr:write for u-ser_2
@@ -46,7 +45,10 @@ The language is self-explaining but plea
allow some:otherPrivilege for bob_the_service
end
+ # Nodetypes inside the path apply to just that path element
create path /content/example.com(sling:Folder)
+
+ # A nodetype in front is used as the default for all path elements
create path (nt:unstructured) /var
set ACL for alice, bob,fred
@@ -72,9 +74,9 @@ example:
create service user provisioningModelUser
-The `org.apache.sling.repoinit.jcr.RepositoryInitializer` component reads the provisioning model text using a configurable URL, which defaults to `context:/resources/provisioning/model.txt` to get the model that our `maven-slingstart-plugin` embeds in the Sling launchpad, the `context:` protocol being handled by the launchpad's `ContextProtocolHandler`.
+The `org.apache.sling.repoinit.jcr.RepositoryInitializer` component reads the provisioning model text using a configurable URL, which defaults to `context:/resources/provisioning/model.txt`, to get the model that our `maven-slingstart-plugin` embeds in the Sling launchpad, the `context:` protocol being handled by the launchpad's `ContextProtocolHandler` by default.
-Configuring a different URL and if needed creating a protocol handler will allow other launchers to provide the provisioning model, or directly provide repoinit statements.
+Configuring a different URL and if needed creating a protocol handler will allow other launchers to provide the provisioning model, or directly provide repoinit statements. See that component's OSGi config descriptions for details.
This also requires the `org.apache.sling.provisioning.model` bundle, version 1.4.2 or later.