HumanCellAtlas / fusillade

Federated User Identity Login & Access Decision Engine
https://fusillade.readthedocs.io/
Other
8 stars 1 forks source link

malformed resource_type policy example #386

Open amarjandu opened 4 years ago

amarjandu commented 4 years ago

the following example json body is malformed, fus will not accept objects in this structure.

{
  "policy": {
    "document": {
      "Statements": [
        {
          "Sid": "string",
          "Effect": "Allow",
          "Actions": [
            "string"
          ],
          "Resource": [
            "string"
          ]
        }
      ]
    },
    "type": "ResourcePolicy"
  }
}
amarjandu commented 4 years ago

Statement should be moved to the policy object