Models

Resources

object

(Authorization) Resources containing one ResourceEntry for each type:path key, type being one of the following thing, policy, message.

[key: string]ResourceEntry

Single (Authorization) Resource entry defining permissions per effect. Allowed effects are grant and revoke.

Show child attributes
grantArray<Permission>READWRITE
revokeArray<Permission>READWRITE
Example
{
  "thing:/": {
    "grant": [
      "READ",
      "WRITE"
    ],
    "revoke": null
  },
  "thing:/attributes/some/path": {
    "grant": null,
    "revoke": [
      "READ"
    ]
  },
  "policy:/": {
    "grant": [
      "READ",
      "WRITE"
    ],
    "revoke": null
  },
  "message:/": {
    "grant": [
      "READ",
      "WRITE"
    ],
    "revoke": null
  }
}