Skip to content

Commit

Permalink
Schema for filter-base role exclusion.
Browse files Browse the repository at this point in the history
  • Loading branch information
semancik committed May 19, 2017
1 parent d8507e9 commit 97df726
Showing 1 changed file with 25 additions and 3 deletions.
Expand Up @@ -22,6 +22,7 @@
xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3"
xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3"
xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3"
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
elementFormDefault="qualified"
xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
Expand All @@ -37,6 +38,7 @@
<!-- Don't provide schemaLocation here, as it causes xjc to really contact the URIs (!) -->
<xsd:import namespace="http://prism.evolveum.com/xml/ns/public/annotation-3"/>
<xsd:import namespace="http://prism.evolveum.com/xml/ns/public/types-3"/>
<xsd:import namespace="http://prism.evolveum.com/xml/ns/public/query-3"/>

<xsd:include schemaLocation="http://midpoint.evolveum.com/xml/ns/public/common/common-core-3" />

Expand Down Expand Up @@ -146,14 +148,34 @@
<xsd:complexContent>
<xsd:extension base="tns:AbstractPolicyConstraintType">
<xsd:sequence>
<xsd:element name="targetRef" type="tns:ObjectReferenceType">
<xsd:element name="targetRef" type="tns:ObjectReferenceType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
Target of exclusion. The object defining this "exclustion" and
the object defined as target cannot be assigned at the same time.
<p>
Target of exclusion. The object defining this "exclustion" and
the object defined as target cannot be assigned at the same time.
</p>
<p>
Either target or filter must be specified.
</p>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="filter" type="q:SearchFilterType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
<p>
Filter that can be used to exclude all targets that match the filter.
</p>
<p>
Either target or filter must be specified.
</p>
</xsd:documentation>
<xsd:appinfo>
<a:since>3.6</a:since>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="policy" type="tns:ExclusionPolicyType" minOccurs="0">
<xsd:annotation>
<xsd:appinfo>
Expand Down

0 comments on commit 97df726

Please sign in to comment.