[
https://issues.apache.org/jira/browse/SLING-4931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14661794#comment-14661794
]
Bertrand Delacretaz commented on SLING-4931:
--------------------------------------------
Actually I think you can create a SlingScript from any resource, whatever its
path - so we don't currently have a limitation on where scripts can be executed
from.
I agree that it's best not to implement what was suggested here, but if we
really want to limit where scripts come from we need other changes.
> Allow the script cache to observe other paths than search paths
> ---------------------------------------------------------------
>
> Key: SLING-4931
> URL: https://issues.apache.org/jira/browse/SLING-4931
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> Affects Versions: Scripting Core 2.0.32
> Reporter: Radu Cotescu
> Assignee: Radu Cotescu
> Fix For: Scripting Core 2.0.34
>
>
> There are cases when a script resides outside of search paths, in which case
> custom locations should be allowed to be added to the Script Cache Event
> Handler implementation.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)