Add QueryRestrictions to the Capabilities Vocabulary

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Component/s: Vocabularies
    • Hide

      Here is an initial version which we can add too/adjust:

      <Term Name="QueryRestrictions" Type="Capabilities.QueryRestrictionsType" AppliesTo="EntitySet">

          <Annotation Term="Core.Description" String="Restrictions on queries" />

      </Term>

      <ComplexType Name="QueryRestrictionsType">

          <Property Name="DirectlyAccessible" Type="Edm.Boolean" Nullable="false" DefaultValue="true">

              <Annotation Term="Core.Description" String="Whether entities in this entity set can be accessed directly or must be accessed through a navigation property." />

          </Property>

      </ComplexType>

      Show
      Here is an initial version which we can add too/adjust: <Term Name="QueryRestrictions" Type="Capabilities.QueryRestrictionsType" AppliesTo="EntitySet">     <Annotation Term="Core.Description" String="Restrictions on queries" /> </Term> <ComplexType Name="QueryRestrictionsType">     <Property Name="DirectlyAccessible" Type="Edm.Boolean" Nullable="false" DefaultValue="true">         <Annotation Term="Core.Description" String="Whether entities in this entity set can be accessed directly or must be accessed through a navigation property." />     </Property> </ComplexType>
    • Hide

      As per 2019-1-17 meeting, closing with no action. Desired behavior for this scenario can be achieved more intuitively by not exposing an entity set (and not defining navigation property bindings).

      Separately, we have past and concurent discussions around ReadRestrictions, RetrieveRestrictions, and QueryRestrictions. We will almost definitely need some way to expose restrictions on reading.  We will address that requirement in a separate issue, based on those scenarios.

      Show
      As per 2019-1-17 meeting, closing with no action. Desired behavior for this scenario can be achieved more intuitively by not exposing an entity set (and not defining navigation property bindings). Separately, we have past and concurent discussions around ReadRestrictions, RetrieveRestrictions, and QueryRestrictions. We will almost definitely need some way to expose restrictions on reading.  We will address that requirement in a separate issue, based on those scenarios.

      We have cases where we want to have an entity set which is only accessible by navigation from another entity but it is not a containment relationship.  We currently have InsertRestrictions and UpdateRestrictions in the capabilities vocabulary but no corresponding QueryRestrictions.  We should add QueryRestrictions to the capabilities vocabulary.

            Assignee:
            Unassigned
            Reporter:
            matt.borges
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: