read-all-content-from-a-single-project

This is a Gitana Access Policy Template.

You can reference it using the identifier read-all-content-from-a-single-project.

The JSON for this policy is:


{
  "key": "read-all-content-from-a-single-project",
  "title": "Allow a Principal to be a Consumer for All Content from a single Project",
  "statements": [
    {
      "roles": [
        "manage"
      ],
      "action": "grant",
      "conditions": [
        {
          "type": "and",
          "config": {
            "conditions": [
              {
                "type": "type",
                "config": {
                  "type": "^node.*"
                }
              },
              {
                "type": "project",
                "config": {
                  "id": "3a8f6734226d8c604dc5"
                }
              }
            ]
          }
        }
      ]
    }
  ]
}