[ 
https://issues.apache.org/jira/browse/SLING-1021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler reopened SLING-1021:
-------------------------------------


The second part of this solution is to provide the resource resolver to the 
script engines to allow them to read included scripts etc. with the same 
resource resolver.
Currently the resolver is added as an attribute to the script context; 
unfortuntately these attributes are used for the bindings and we need to find a 
different way.

> Use admin (configurable user) session for script resolution
> -----------------------------------------------------------
>
>                 Key: SLING-1021
>                 URL: https://issues.apache.org/jira/browse/SLING-1021
>             Project: Sling
>          Issue Type: New Feature
>          Components: Servlets Resolver
>    Affects Versions:  Servlets Resolver 2.0.6
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Servlets Resolver 2.0.8
>
>
> Currently the user session from the current request is used to resolve a 
> script. This has many drawbacks like the scripts need to be readable for all 
> users, caching of the script resolution is not that efficient etc.
> As discussed in the mailing list, we'll change the script resolution to use a 
> single session. By default the admin session is used, but this will be 
> configurable to use a specific user instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to