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

QUERY CONVERTOR ISSUE with type filter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.8
    • Component/s: None
    • Labels:
    • Subscription:
      Active subscription

      Description

      This query is incorrect, but query convetor does not reject it:

          <authorization>
              <name>Assign/Unassign for OrgType</name>
              <action>http://midpoint.evolveum.com/xml/ns/public/security/authorization-model-3#assign</action>
              <action>http://midpoint.evolveum.com/xml/ns/public/security/authorization-model-3#unassign</action>
              <phase>request</phase>
              <object>
      	    <type>OrgType</type>
      	    <filter>
      		<q:or>
      		    <q:equal>
      			<q:path>orgType</q:path>
      			<q:value>municipality</q:value>
      		    </q:equal>
      		</q:or>
      	    </filter>
              </object>
              <target>
                      <filter>
                              <q:type>
                                      <q:type>c:RoleType</q:type>
                              <q:or>
                                  <q:equal>
                                      <q:path>name</q:path>
                                      <q:value>My Example 1</q:value>
                                  </q:equal>
                                  <q:substring>
                                      <q:path>name</q:path>
                                      <q:value>My Example 2</q:value>
                                      <q:anchorStart>true</q:anchorStart>
                                  </q:substring>
                              </q:or>
                              </q:type>
                      </filter>
              </target>
      <!-- END XXX -->
          </authorization>
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: