Models
Resources
object(Authorization) Resources containing one ResourceEntry for each
type:path key, type being one of the following thing, policy, message.
[key: string]ResourceEntrySingle (Authorization) Resource entry defining permissions per effect.
Allowed effects are grant and revoke.
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
}
}