Bertrand Delacretaz wrote: > Hi, > > On Thu, Aug 20, 2009 at 8:36 AM, Felix Meschberger<[email protected]> wrote: >> John Crawford schrieb: >>> Does anyone know if it possible to modify data / structure in another >>> workspace (outside of the current sling sandbox) if the user has the proper >>> credentials to that workspace? >> The SlingPostServlet itself cannot do this at the moment: It is using >> the session of the current request and thus only has access to the >> workspace of the session. > > According to https://issues.apache.org/jira/browse/SLING-727, > implementing a custom AuthenticationHandler (or improving the existing > AuthorizationHeaderAuthenticationHandler [1]) would allow you to > specify a workspace at login. > > Sling would need to fall back to the default workspace to find scripts > - that should work in theory, but there might be some bugs as I'm not > sure if people are currently using this. > This should work with the latest code from trunk as now a script admin session is used to query the script locations.
Carsten -- Carsten Ziegeler [email protected]
