At the moment there doesn't seem to be a way to set whether a property is read only via API call. That is, I'd like to be able to create properties that are "Everyone can view" rather than "Everyone can view and edit". In fact, it doesn't seem like it's possible to find out the property access info for existing properties either. If I fetch a read-only property and a read-write property, there's no difference in the returned JSON to indicate which one is editable. There's a modificationMetadata field which looks promising: "modificationMetadata": {
"archivable": true,
"readOnlyDefinition": false,
"readOnlyValue": false
} ...however, readOnlyValue and readOnlyDefinition always seem to be false, even for read-only properties, so presumably they have some other (undocumented) meaning. So, please can we have read and write access via API to the "property access" property of properties? (Properties!)
...その他を表示