[
https://issues.apache.org/jira/browse/OAK-4267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
angela resolved OAK-4267.
-------------------------
Resolution: Fixed
Assignee: angela
Fix Version/s: 1.5.2
Committed revision 1740360.
> SyncedIdentity for foreign authorizable always has isGroup set to false
> -----------------------------------------------------------------------
>
> Key: OAK-4267
> URL: https://issues.apache.org/jira/browse/OAK-4267
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: auth-external
> Reporter: angela
> Assignee: angela
> Priority: Trivial
> Fix For: 1.5.2
>
>
> Calling {{DefaultSyncContext.sync(String userId)}} for an authorizable that
> exists but belongs to a different IDP, will return a result with
> {{SyncedIdentity}} that always returns {{false}} for
> {{SyncedIdentity.isGroup}}.
> I guess this is a copy-paste mistake from the result generated for a {{null}}
> authorizable above. The fix would be trivial by passing
> {{Authorizable.isGroup}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)