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

Konrad Windszus commented on SLING-11723:
-----------------------------------------

[~angela] WDYT? Do you have any other idea how to ease debugging permission 
related issues on Sling level?

> Expose more authentication information from ResourceResolver
> ------------------------------------------------------------
>
>                 Key: SLING-11723
>                 URL: https://issues.apache.org/jira/browse/SLING-11723
>             Project: Sling
>          Issue Type: Improvement
>          Components: API
>            Reporter: Konrad Windszus
>            Priority: Major
>
> Currently ResourceResolver only exposes the {{getUserID()}} for debugging 
> authorization related issues. With the addition of SLING-6963 it would be 
> helpful to additionally expose:
> - if a resource resolver is a service resource resolver (applies to all 
> providers)
> - if it is based on principal names or regular authorizable ids (JCR provider 
> specific, although the configuration format is agnostic)
> This information is crucial to figure out why a particular resource cannot be 
> resolved (due to missing permissions).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to