edit-all-content-with-a-property

This is a Gitana Access Policy Template.

You can reference it using the identifier edit-all-content-with-a-property.

The JSON for this policy is:


{
  "key": "edit-all-content-with-a-property",
  "title": "Allow a Project Member to be an Editor for All Content that has a specific property value",
  "statements": [
    {
      "roles": [
        "editor"
      ],
      "action": "grant",
      "conditions": [
        {
          "type": "property",
          "config": {
            "property": "category",
            "value": "green"
          }
        }
      ]
    }
  ]
}