[ 
https://issues.apache.org/jira/browse/SLING-6935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16035391#comment-16035391
 ] 

Alexander Klimetschek commented on SLING-6935:
----------------------------------------------

BTW, instead of a service user it could use the webconsole's resource resolver 
(i.e. the current logged in user) available via
{code}ResourceResolver resolver = (ResourceResolver) 
request.getAttribute("org.apache.sling.auth.core.ResourceResolver");{code}
and offer impersonation if one wants to try the resolution for different users.

> Context-Aware web console default experience difficult
> ------------------------------------------------------
>
>                 Key: SLING-6935
>                 URL: https://issues.apache.org/jira/browse/SLING-6935
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: Context-Aware Configuration Impl 1.4.2
>            Reporter: Alexander Klimetschek
>
> A resolve with the default values doesn't give anything. Default values 
> should be:
> * Content Path "/content"
> * other config name "."
> Which should on a typical system give you something, such as 
> "/conf/global/settings" for example. This makes exploring the UI much simpler.
> If no config name is set, one gets a 500 error "Invalid configuration name: 
> null".



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to