Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-732

Add enumeration member "Write" to "Permission" type

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.0_ERRATA01
    • Fix Version/s: V4.0_ERRATA03
    • Component/s: Vocabularies
    • Labels:
      None
    • Environment:

      [Applied]

    • Proposal:
      Hide

      Enhance the definition of Permission by adding a Write member

      <EnumType Name="Permission" IsFlags="true">
      <Member Name="None" Value="0"/>
      <Member Name="Read" Value="1"/>
      <Member Name="Write" Value="2"/>
      <Member Name="ReadWrite" Value="3"/>
      </EnumType>

      Show
      Enhance the definition of Permission by adding a Write member <EnumType Name="Permission" IsFlags="true"> <Member Name="None" Value="0"/> <Member Name="Read" Value="1"/> <Member Name="Write" Value="2"/> <Member Name="ReadWrite" Value="3"/> </EnumType>
    • Resolution:
      Show
      https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/vocabularies/Org.OData.Core.V1.xml?rev=645

      Description

      We designed the Permission enumeration type in the Core vocabulary in a way that allows us to add a "Write" member for write-only properties. Now I have a use case for it: the "Password" property of a "User" entity type.

        Attachments

          Activity

            People

            • Assignee:
              handl Ralf Handl
              Reporter:
              handl Ralf Handl
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: