Skip to content

Commit

Permalink
Towards MID-3747: schema support for delegation limitations related t…
Browse files Browse the repository at this point in the history
…o work items.
  • Loading branch information
mederly committed Apr 12, 2017
1 parent e51b3da commit 260a9ce
Showing 1 changed file with 72 additions and 1 deletion.
Expand Up @@ -3244,13 +3244,25 @@
Limitations that selects only some assignments/inducements from the target. It may be used to
incorporate only a part of the subrole in the role hierarchy. But it is most frequently used
to limit the scope of a delegation to the deputy.
It not specified, no limitations of this kind take place.
</xsd:documentation>
<xsd:appinfo>
<a:since>3.5</a:since>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>

<xsd:element name="limitOtherAuthorizations" type="tns:OtherAuthorizationsLimitationType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
Limitations related to other authorizations, like the ability to complete work items.
If not specified, no limitations of this kind take place.
</xsd:documentation>
<xsd:appinfo>
<a:since>3.6</a:since>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>

<xsd:element name="focusType" type="xsd:QName" minOccurs="0"/>

<xsd:element name="tenantRef" type="c:ObjectReferenceType" minOccurs="0" maxOccurs="1">
Expand Down Expand Up @@ -8609,6 +8621,65 @@
<xsd:attribute name="id" type="xsd:long" use="optional"/>
</xsd:complexType>

<xsd:complexType name="OtherAuthorizationsLimitationType">
<xsd:annotation>
<xsd:documentation>
Limitations related to other authorizations, like the ability to complete work items.
</xsd:documentation>
<xsd:appinfo>
<a:container/>
<a:since>3.6</a:since>
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="approvalWorkItems" type="c:WorkItemAuthorizationsLimitationType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
Limitations related to the delegation of access to approval work items. If not present, access to these work items is NOT delegated.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="certificationWorkItems" type="c:WorkItemAuthorizationsLimitationType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
Limitations related to the delegation of access to certification work items. If not present, access to these work items is NOT delegated.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="caseManagementWorkItems" type="c:WorkItemAuthorizationsLimitationType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
Limitations related to the delegation of access to case management work items. If not present, access to these work items is NOT delegated.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="id" type="xsd:long" use="optional"/>
</xsd:complexType>

<xsd:complexType name="WorkItemAuthorizationsLimitationType">
<xsd:annotation>
<xsd:documentation>
Limitations related to the delegation of access to work items of some kind.
</xsd:documentation>
<xsd:appinfo>
<a:container/>
<a:since>3.6</a:since>
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="delegate" type="xsd:boolean" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
True if the access to work items should be enabled (default is false).
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!-- TODO finer specification of work items to allow access to -->
</xsd:sequence>
<xsd:attribute name="id" type="xsd:long" use="optional"/>
</xsd:complexType>

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

0 comments on commit 260a9ce

Please sign in to comment.