-
Notifications
You must be signed in to change notification settings - Fork 598
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
65 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...nfig.author/org.apache.sling.jcr.repoinit.RepositoryInitializer-replication-status.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
scripts=[ | ||
"# these users and ACLs are only necessary on author | ||
create service user acs-commons-package-replication-status-event-service with path system/acs-commons | ||
set ACL for acs-commons-package-replication-status-event-service | ||
allow jcr:read,rep:write,jcr:readAccessControl,jcr:modifyAccessControl on / | ||
end | ||
" | ||
] |
17 changes: 17 additions & 0 deletions
17
...config.author/org.apache.sling.jcr.repoinit.RepositoryInitializer-varworkflow-acls.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
scripts=[ | ||
"# these users and ACLs are only necessary on author | ||
create service user acs-commons-workflow-remover-service with path system/acs-commons | ||
# the path may not yet exist in AEMaaCS as it is created lazily | ||
create path /var/workflow/instances(sling:Folder) | ||
set ACL for acs-commons-workflow-remover-service | ||
allow jcr:read, rep:write on /var/workflow/instances | ||
end | ||
|
||
create service user acs-commons-workflowpackagemanager-service with path system/acs-commons | ||
# the path may not yet exist in AEMaaCS as it is created lazily | ||
create path /var/workflow/packages(sling:Folder) | ||
set ACL for acs-commons-workflowpackagemanager-service | ||
allow jcr:read on /var/workflow/packages | ||
end | ||
" | ||
] |
11 changes: 11 additions & 0 deletions
11
...ns/config.publish/org.apache.sling.jcr.repoinit.RepositoryInitializer-distribution.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
scripts=[ | ||
"# extend rights for installing the ui.content package containing /var nodes with AEMaaCS (https://helpx.adobe.com/in/experience-manager/kb/cm/cloudmanager-deploy-fails-due-to-sling-distribution-aem.html) | ||
create path /var/acs-commons(nt:folder) | ||
|
||
# AEM classic does not know this system user, but creating it below system/acs-commons shouldn't do any harm | ||
create service user sling-distribution-importer with path system/acs-commons | ||
set ACL for sling-distribution-importer | ||
allow jcr:read, rep:write, jcr:versionManagement, jcr:modifyAccessControl, jcr:readAccessControl, jcr:lockManagement on /var/acs-commons | ||
end | ||
" | ||
] |
8 changes: 8 additions & 0 deletions
8
...commons/config/org.apache.sling.jcr.repoinit.RepositoryInitializer-ensure-oakindex.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
scripts=[ | ||
" | ||
create service user acs-commons-ensure-oak-index-service with path system/acs-commons | ||
set ACL for acs-commons-ensure-oak-index-service | ||
allow jcr:read,rep:write,rep:indexDefinitionManagement on /oak:index | ||
end | ||
" | ||
] |
18 changes: 18 additions & 0 deletions
18
...s/acs-commons/config/org.apache.sling.jcr.repoinit.RepositoryInitializer-root-acls.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
scripts=[ | ||
" | ||
create service user acs-commons-dispatcher-flush-service with path system/acs-commons | ||
set ACL for acs-commons-dispatcher-flush-service | ||
allow jcr:read,crx:replicate,jcr:removeNode on / | ||
end | ||
|
||
create service user acs-commons-ensure-service-user-service with path system/acs-commons | ||
set ACL for acs-commons-ensure-service-user-service | ||
allow jcr:read,rep:write,jcr:readAccessControl,jcr:modifyAccessControl on / | ||
end | ||
|
||
create service user acs-commons-on-deploy-scripts-service with path system/acs-commons | ||
set ACL for acs-commons-on-deploy-scripts-service | ||
allow jcr:read on / | ||
end | ||
" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
ui.content/src/main/content/jcr_root/_oak_index/_rep_policy.xml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
...main/content/jcr_root/home/users/system/acs-commons/dispatcher-flush-service/.content.xml
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
...main/content/jcr_root/home/users/system/acs-commons/ensure-oak-index-service/.content.xml
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
.../src/main/content/jcr_root/home/users/system/acs-commons/ensure-service-user/.content.xml
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
...ain/content/jcr_root/home/users/system/acs-commons/on-deploy-scripts-service/.content.xml
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
...ent/jcr_root/home/users/system/acs-commons/package-replication-event-service/.content.xml
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
...tent/jcr_root/home/users/system/acs-commons/workflow-package-manager-service/.content.xml
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
...ent/src/main/content/jcr_root/home/users/system/acs-commons/workflow-remover/.content.xml
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
ui.content/src/main/content/jcr_root/var/workflow/instances/_rep_policy.xml
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
ui.content/src/main/content/jcr_root/var/workflow/packages/_rep_policy.xml
This file was deleted.
Oops, something went wrong.