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

Carsten Ziegeler resolved SLING-1142.
-------------------------------------

    Resolution: Fixed

Fixed in Revision: 823458. The instance variable scriptResource is now used in 
all places except for the public method getScriptResource()
This ensures that the script admin session is used internally while the current 
user only gets the resource resolved with his own session (to avoid security 
problems)

> Script Session is not used inside DefaultSlingScript
> ----------------------------------------------------
>
>                 Key: SLING-1142
>                 URL: https://issues.apache.org/jira/browse/SLING-1142
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>    Affects Versions: Scripting Core 2.0.6
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Scripting Core 2.0.8
>
>
> The new script session is not used in all internal places inside the 
> DefaultSlingScript - in some cases the user session is used to read the 
> script which results in erorrs

-- 
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