[midPoint] Resolved - Re: baseContext filter not able to use substring

Jason Everling jeverling at bshp.edu
Thu Feb 28 17:28:14 CET 2019


I was able to filter out the groups I didn't want by using inbound
expression for the association and memberOf for both users and groups



On Tue, Feb 26, 2019 at 5:42 PM Jason Everling <jeverling at bshp.edu> wrote:

> With the resource definition for an object type I am trying to use
> multiple contexts, such as the below and errors with " Filter for __NAME__
> cannot be used in OR clauses". How to use multiple contexts?
>
>          <baseContext>
>             <objectClass>ri:group</objectClass>
>             <filter>
>                <q:or>
>                    <q:substring>
>                 <q:path>attributes/dn</q:path>
>                 <q:value>OU=TEST1,DC=TEST,DC=LOCAL</q:value>
>                    </q:substring>
>                    <q:substring>
>                 <q:path>attributes/dn</q:path>
>                 <q:value>OU=TEST2,DC=TEST,DC=LOCAL</q:value>
>                    </q:substring>
>                </q:or>
>             </filter>
>          </baseContext>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20190228/6df9b0be/attachment.htm>


More information about the midPoint mailing list