Property description

The attributeTypeObjectConditions asset specifies which attribute types can be edited, depending on users (user relation types) and workflow state.

Attribute type conditions can also be defined in the object types asset.

Warning

The is_condition_based_editable feature must be enabled for conditions to take effect.

Minimal JSON

{
  "objectTypeKey": "",
  "unlockedAttributeTypeKey": "",
  "userRelationTypeKey": ""
}
{
  "objectTypeKey": "recipe",
  "unlockedAttributeTypeKey": "core_description_scanned",
  "userRelationTypeKey": "recipe_owner",
  "workflowStateKey": "approved"
}

Example based on assets from Writing an Application Package.

Nested properties

PropertyDescriptionValuesMandatory
objectTypeKeyKey of the object type that the conditions apply to.stringYes
unlockedAttributeTypeKeyKey of the attribute type that can be edited by the specified user.stringYes
userRelationTypeKeyKey of the user relation type that can edit the specified attribute type.stringYes
workflowStateKeyKey of the workflow state in which the user can edit the attribute type.stringNo