Description
Scripting implementations require a (service) ResourceResolver with very limited read rights to read scripts.
Reading can be limited to these paths:
- /apps
- /libs
/etc
Name for service user: scripting or sling-scripting or sling.scripting
repoinit:
create path /apps create path /libs create service user sling-scripting set ACL for sling-scripting allow jcr:read on /apps allow jcr:read on /libs end
Attachments
Issue Links
- blocks
-
SLING-5252 Remove getAdministrativeResourceResolver() from Scripting Core
- Closed
-
SLING-5236 Remove getAdministrativeResourceResolver() usage from scripting bundles
- Closed
-
SLING-5928 Use Service ResourceResolver in SlingResourceTemplateResolver
- Closed
-
SLING-5927 Add service user and ACLs for Scripting
- Resolved