read-all-content-from-multiple-projects

This is a Gitana Access Policy Template.

You can reference it using the identifier read-all-content-from-multiple-projects.

The JSON for this policy is:


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