Skip to content

Commit

Permalink
entitlementManagement
Browse files Browse the repository at this point in the history
  • Loading branch information
millicentachieng committed Sep 15, 2024
1 parent 74767fd commit f044bfc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions transforms/csdl/preprocess_csdl.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -1559,9 +1559,9 @@
</xsl:choose>

<xsl:choose>
<xsl:when test="not(edm:Annotations[@Target='microsoft.graph.user/manger'])">
<xsl:when test="not(edm:Annotations[@Target='microsoft.graph.entitlementManagement'])">
<xsl:element name="Annotations">
<xsl:attribute name="Target">microsoft.graph.user/manager</xsl:attribute>
<xsl:attribute name="Target">microsoft.graph.entitlementManagement</xsl:attribute>
<xsl:call-template name="DeleteRestrictionsTemplate">
<xsl:with-param name="deletable">false</xsl:with-param>
</xsl:call-template>
Expand Down
14 changes: 7 additions & 7 deletions transforms/csdl/preprocess_csdl_test_output.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1398,6 +1398,13 @@
</Record>
</Annotation>
</Annotations>
<Annotations Target="microsoft.graph.user/manager">
<Annotation Term="Org.OData.Capabilities.V1.DeleteRestrictions">
<Record>
<PropertyValue Property="Deletable" Bool="false" />
</Record>
</Annotation>
</Annotations>
<Annotations Target="microsoft.graph.educationSchool/administrativeUnit">
<Annotation Term="Org.OData.Capabilities.V1.UpdateRestrictions">
<Record>
Expand Down Expand Up @@ -1518,13 +1525,6 @@
</Record>
</Annotation>
</Annotations>
<Annotations Target="microsoft.graph.entitlementManagement/accessPackageAssignments">
<Annotation Term="Org.OData.Capabilities.V1.DeleteRestrictions">
<Record>
<PropertyValue Property="Deletable" Bool="false" />
</Record>
</Annotation>
</Annotations>
</Schema>
<Schema Namespace="microsoft.graph.callRecords" xmlns="http://docs.oasis-open.org/odata/ns/edm">
<EnumType Name="callType">
Expand Down

0 comments on commit f044bfc

Please sign in to comment.