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

Roy Teeuwen commented on OAK-10448:
-----------------------------------

[~kwin]  this also causes following downstream issue, where it is not only 
Query, but also Authorizable and Group: 
[https://github.com/ist-dresden/composum-nodes/issues/310]

 

For example:

[https://github.com/ist-dresden/composum-nodes/blob/develop/usermgr/src/main/java/com/composum/sling/core/usermanagement/service/GroupFacade.java]

[https://github.com/ist-dresden/composum-nodes/blob/develop/usermgr/src/main/java/com/composum/sling/core/usermanagement/service/ServiceUser.java]

 

 

> org.apache.jackrabbit.api.security.user.Query must be a Consumer type
> ---------------------------------------------------------------------
>
>                 Key: OAK-10448
>                 URL: https://issues.apache.org/jira/browse/OAK-10448
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: jackrabbit-api
>    Affects Versions: 1.54.0
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>
> In the context of OAK-10252 the interface 
> {{org.apache.jackrabbit.api.security.user.Query}} was incorrectly converted 
> from implicit consumer type to provider type 
> (https://github.com/apache/jackrabbit-oak/blob/dcd46825e21f373fda8dbfe61cdaeac522fe15eb/oak-jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/user/Query.java#L45).
>  In fact this interface is supposed to be implemented by consumers (e.g. 
> those leveraging 
> {{org.apache.jackrabbit.api.security.user.UserManager#findAuthorizables(...)}}



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

Reply via email to