You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2017/06/13 10:31:00 UTC
[jira] [Commented] (OAK-6338) AbstractCompositeProviderTest reverse
order flag is ignored
[ https://issues.apache.org/jira/browse/OAK-6338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16047714#comment-16047714 ]
angela commented on OAK-6338:
-----------------------------
[~alex.parvulescu], or even simpler (and getting rid of the code duplication):
{code}
ImmutableList<AggregatedPermissionProvider> l = ImmutableList.of(
(AggregatedPermissionProvider) config.getPermissionProvider(root, workspaceName, principals),
getTestPermissionProvider());
if (reverseOrder()) {
return l.reverse();
} else {
return l;
}
{code}
> AbstractCompositeProviderTest reverse order flag is ignored
> -----------------------------------------------------------
>
> Key: OAK-6338
> URL: https://issues.apache.org/jira/browse/OAK-6338
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core, security
> Reporter: Alex Parvulescu
> Assignee: Alex Parvulescu
> Fix For: 1.7.2
>
> Attachments: OAK-6338.patch
>
>
> As seen here https://github.com/apache/jackrabbit-oak/blob/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/security/authorization/composite/AbstractCompositeProviderTest.java#L238
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)