platform-application-user

This is a Gitana System Access Policy.

You can reference it using the identifier platform-application-user.

The JSON for this policy is:


{
  "system": true,
  "key": "platform-application-user",
  "title": "Platform-level policy for an application user",
  "statements": [
    {
      "description": "Grant Connector role",
      "roles": [
        "connector"
      ],
      "action": "grant"
    },
    {
      "description": "Grant Consumer role to platform",
      "roles": [
        "consumer"
      ],
      "action": "grant",
      "conditions": [
        {
          "type": "type",
          "config": {
            "type": "^platform.*"
          }
        }
      ]
    }
  ]
}