Skip to content

Commit

Permalink
Remove unused autz elements from the schema
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Jun 20, 2023
1 parent c3e5ed5 commit 4daa0d2
Showing 1 changed file with 0 additions and 128 deletions.
128 changes: 0 additions & 128 deletions infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -7679,19 +7679,6 @@
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="itemValue" type="tns:ItemValueSelectorType" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>
Limits the authorization to specified values of specified items. For example,
when providing an ability to read a work item, we may allow reading of those assigned
to the current principal only.

Cannot be combined with "exceptItem".

TODO other limitations
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="target" type="tns:OwnedObjectSelectorType" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>
Expand Down Expand Up @@ -7939,121 +7926,6 @@
<xsd:attribute name="id" type="xsd:long"/>
</xsd:complexType>

<xsd:complexType name="ItemValueSelectorType">
<xsd:annotation>
<xsd:documentation>
Limits the authorization to specified values of specified items.

WORK IN PROGRESS.
</xsd:documentation>
<xsd:appinfo>
<a:container/>
<a:since>4.8</a:since>
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element ref="tns:description" minOccurs="0">
<xsd:annotation>
<xsd:appinfo>
<a:displayName>ValueSelectorType.description</a:displayName>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element ref="tns:documentation" minOccurs="0"/>
<xsd:element name="path" type="t:ItemPathType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
Item to which this selector applies.
</xsd:documentation>
<xsd:appinfo>
<a:displayName>ItemValueSelectorType.item</a:displayName>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="value" type="tns:ValueSelectorType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
Selectors for the values of the item.
</xsd:documentation>
<xsd:appinfo>
<a:displayName>ItemValueSelectorType.value</a:displayName>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="item" type="t:ItemPathType" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>
TODO
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="exceptItem" type="t:ItemPathType" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>
TODO
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="itemValue" type="tns:ItemValueSelectorType" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>
TODO
</xsd:documentation>
<xsd:appinfo>
<a:elaborate>true</a:elaborate> <!-- because of the recursion -->
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="id" type="xsd:long"/>
</xsd:complexType>

<xsd:complexType name="ValueSelectorType">
<xsd:annotation>
<xsd:documentation>
TODO
</xsd:documentation>
<xsd:appinfo>
<a:container/>
<a:since>4.8</a:since>
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element ref="tns:description" minOccurs="0">
<xsd:annotation>
<xsd:appinfo>
<a:displayName>ValueSelectorType.description</a:displayName>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element ref="tns:documentation" minOccurs="0"/>
<xsd:element name="filter" type="q:SearchFilterType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
Filter that the value must match to be considered selected by this statement.
This filter MUST NOT contain organization unit clauses. It may only contain
property clauses, logical operations and so on.
</xsd:documentation>
<xsd:appinfo>
<a:displayName>ValueSelectorType.filter</a:displayName>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="assignee" type="tns:SubjectedObjectSelectorType" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>
The object matches the specification if it has a (current) assignee specified by this element.
(So it is applicable only to case work items, certification cases and certification work items.)
</xsd:documentation>
<xsd:appinfo>
<a:displayName>ValueSelectorType.filter</a:displayName>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="id" type="xsd:long"/>
</xsd:complexType>

<xsd:complexType name="ObjectSelectorType">
<xsd:annotation>
<xsd:documentation>
Expand Down

0 comments on commit 4daa0d2

Please sign in to comment.