read-all-content-in-a-folder

This is a Gitana Access Policy Template.

You can reference it using the identifier read-all-content-in-a-folder.

The JSON for this policy is:


{
  "key": "read-all-content-in-a-folder",
  "title": "Allow a Project Member to be a Consumer for a folder at a specific path and all sub-items",
  "statements": [
    {
      "roles": [
        "consumer"
      ],
      "action": "grant",
      "conditions": [
        {
          "type": "path",
          "config": {
            "path": "^/articles.*"
          }
        }
      ]
    }
  ]
}