-
Notifications
You must be signed in to change notification settings - Fork 596
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
32 changed files
with
127 additions
and
207 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
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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 | ||
" | ||
] |
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: 0 additions & 8 deletions
8
...config/com.adobe.acs.commons.users.impl.EnsureServiceUser-AutomaticPackageReplication.xml
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
.../apps/acs-commons/config/com.adobe.acs.commons.users.impl.EnsureServiceUser-FileFetch.xml
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
...ps/acs-commons/config/com.adobe.acs.commons.users.impl.EnsureServiceUser-RemoteAssets.xml
This file was deleted.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
...apps/acs-commons/config/org.apache.sling.jcr.repoinit.RepositoryInitializer-aem-cs.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,30 @@ | ||
scripts=[ | ||
" | ||
# These paths must exist otherwise the following ACL applicaiton will fail, resulting in err'ing build | ||
create path /content/cq:tags(sling:Folder) | ||
create path /etc/packages(sling:Folder) | ||
|
||
create service user acs-commons-automatic-package-replicator-service with path system/acs-commons | ||
set ACL for acs-commons-automatic-package-replicator-service | ||
allow jcr:read,jcr:versionManagement,rep:write,crx:replicate on /etc/packages | ||
allow jcr:read on / | ||
end | ||
|
||
create service user acs-commons-file-fetch-service with path system/acs-aem-commons | ||
set ACL for acs-commons-file-fetch-service | ||
allow jcr:read,jcr:versionManagement,rep:write,crx:replicate on /content/dam | ||
allow jcr:read on / | ||
end | ||
|
||
create service user acs-commons-remote-assets-service with path system/acs-aem-commons | ||
set ACL for acs-commons-remote-assets-service | ||
allow jcr:read, jcr:versionManagement, rep:write, crx:replicate on /content/cq:tags | ||
allow jcr:read, jcr:versionManagement, rep:write, crx:replicate on /content/dam, /etc/tags | ||
allow jcr:read on / | ||
|
||
# If /etc/tags is used, these ACLs be set manually - if RepoInit defines this structure, it supersedes the use of /content/cq:tags | ||
# allow jcr:read, jcr:versionManagement, rep:write, crx:replicate on /etc/tags | ||
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 | ||
" | ||
] |
17 changes: 17 additions & 0 deletions
17
...ommons/config/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 | ||
" | ||
] |
4 changes: 0 additions & 4 deletions
4
...ig/org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended-acs-commons.xml
This file was deleted.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
...org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended~acs-commons.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,24 @@ | ||
user.mapping=[ \ | ||
"com.adobe.acs.acs-aem-commons-bundle:ensure-oak-index\=[acs-commons-ensure-oak-index-service]", \ | ||
"com.adobe.acs.acs-aem-commons-bundle:email-service\=[acs-commons-email-service]", \ | ||
"com.adobe.acs.acs-aem-commons-bundle:httpcache-jcr-storage-service\=[acs-commons-httpcache-jcr-storage-service]", \ | ||
"com.adobe.acs.acs-aem-commons-bundle:review-task-asset-mover\=[acs-commons-review-task-asset-mover-service]", \ | ||
"com.adobe.acs.acs-aem-commons-bundle:error-page-handler\=[acs-commons-error-page-handler-service]", \ | ||
"com.adobe.acs.acs-aem-commons-bundle:form-helper\=[acs-commons-form-helper-service]", \ | ||
"com.adobe.acs.acs-aem-commons-bundle:dispatcher-flush\=[acs-commons-dispatcher-flush-service]", \ | ||
"com.adobe.acs.acs-aem-commons-bundle:package-replication-status-event-listener\=[acs-commons-package-replication-status-event-service]", \ | ||
"com.adobe.acs.acs-aem-commons-bundle:component-error-handler\=[acs-commons-component-error-handler-service]", \ | ||
"com.adobe.acs.acs-aem-commons-bundle:system-notifications\=[acs-commons-system-notifications-service]", \ | ||
"com.adobe.acs.acs-aem-commons-bundle-twitter:twitter-updater\=[acs-commons-twitter-updater-service]", \ | ||
"com.adobe.acs.acs-aem-commons-bundle:workflow-remover\=[acs-commons-workflow-remover-service]", \ | ||
"com.adobe.acs.acs-aem-commons-bundle:bulk-workflow\=[acs-commons-bulk-workflow-service]", \ | ||
"com.adobe.acs.acs-aem-commons-bundle:bulk-workflow-runner\=[workflow-process-service]", \ | ||
"com.adobe.acs.acs-aem-commons-bundle:ensure-service-user\=[acs-commons-ensure-service-user-service]", \ | ||
"com.adobe.acs.acs-aem-commons-bundle:shared-component-props\=[acs-commons-shared-component-props-service]", \ | ||
"com.adobe.acs.acs-aem-commons-bundle:manage-controlled-processes\=[acs-commons-manage-controlled-processes-service]", \ | ||
"com.adobe.acs.acs-aem-commons-bundle:automatic-package-replicator\=[acs-commons-automatic-package-replicator-service]", \ | ||
"com.adobe.acs.acs-aem-commons-bundle:on-deploy-scripts\=[acs-commons-on-deploy-scripts-service]", \ | ||
"com.adobe.acs.acs-aem-commons-bundle:remote-assets\=[acs-commons-remote-assets-service]", \ | ||
"com.adobe.acs.acs-aem-commons-bundle:workflowpackagemanager-service\=[acs-commons-workflowpackagemanager-service]", \ | ||
"com.adobe.acs.acs-aem-commons-bundle:file-fetch\=[acs-commons-file-fetch-service]" \ | ||
] |
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.
Oops, something went wrong.