[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-960) Absolute paths in annotations, e.g. capabilities depending on properties of a singleton
[ https://issues.oasis-open.org/browse/ODATA-960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ralf Handl updated ODATA-960: ----------------------------- Resolution: https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/4.01%20spec/schemas/edm.xsd?op=diff&rev=944 > Absolute paths in annotations, e.g. capabilities depending on properties of a singleton > --------------------------------------------------------------------------------------- > > Key: ODATA-960 > URL: https://issues.oasis-open.org/browse/ODATA-960 > Project: OASIS Open Data Protocol (OData) TC > Issue Type: Improvement > Components: Vocabularies > Affects Versions: V4.0_ERRATA02 > Environment: Annotations > Reporter: Ralf Handl > Fix For: V4.01_WD01 > > > We'd like to use a Singleton to control capabilities of an entity set, e.g. use a property of a singleton to tell whether the authenticated user is allowed to create new entities in a given entity set. This means we'd like to use a Path construct for the value of @Capabilities.InsertRestrictions/Insertable, e.g. > <Annotations Target="My.Container/SalesOrders"> > <Annotation Term="Capabilities.InsertRestrictions"> > <Record> > <PropertyValue Property="Insertable" Path="/My.Container/Me/Permissions/CanCreateOrders" /> > </Record> > </Annotation> > </Annotations> -- This message was sent by Atlassian JIRA (v6.2.2#6258)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]