Skip to content

add an optional "readOnly" property for items #12

@mamund

Description

@mamund

add an optional readOnly property for items. This will make it easier for clients to know which items are eligible for update or deletion.

readOnly="true" : this item SHOULD NOT be edited using the supplied template and is not delete-able
readOnly="false" : this item MAY be edited using the supplied template
if the readOnly property is missing that item SHOULD be assumed to be eligible for edits and deletions.

Document authors can still include entries in the links collection for each item that point to representations that include a template for use in editing (e.g. rel="edit" or rel="delete"). This will make it easier to indicate custom edit templates for individual items.

This is a backward-compatible change. There is no breaking change to the format. Clients SHOULD already ignore properties they do not know.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions