Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-1560

ApproverRef does not support query filter

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2 (Crius)
    • 2.2 (Crius)
    • None
    • None

    Description

      This does not work:

      <approverRef xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-2a" type="c:UserType">
        <description>Melanie Austenberg - General Manager</description>
        <filter>
          <q:equal>
            <q:path>c:name</q:path>
            <q:value>X000090</q:value>
          </q:equal>
        </filter>
      </approverRef>
      

      After importing the role with the above approved definition, the filter didn't cause approverRef to get user's oid. This is stored in repo after importing object:

      <c:approverRef type="c:UserType">
        <c:description>Melanie Austenberg - General Manager</c:description>
        <c:filter>
          <q:equal xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-2" xmlns:gen833="http://midpoint.evolveum.com/xml/ns/fake/sqlRepository-1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <q:path>c:name</q:path>
            <q:value>X000090</q:value>
          </q:equal>
        </c:filter>
      </c:approverRef>
      

      Attachments

        Activity

          People

            vix Ivan Noris
            vix Ivan Noris
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: