{
  "Comment": "Lists resources and their access permissions",
  "Version": "1.0",
  "version": "1.0",

  "StartAt": "Permissions",
  "States": {
    "Permissions": {
      "Type": "Task",
      "Resource": "module:permissionsTree",
      "ResultPath": "$.permissions",
      "End": true
    }
  },

  "restrictions": [
    {
      "roleId": "tymly_rbacAdmin",
      "allows": [
        "*"
      ]
    }
  ]
}