Permission List for the Root - IOT-DSA/docs GitHub Wiki
Within server.json
, the defaultPermission
config is a permission list that defines the capabilities of each permission group in relation to the root node.
- The first value of each item in
defaultPermission
is the permission group. This can be a username, dsId, custom user group, or "default." - The second value of each item is the permission value. This can be
config
,write
,read
,list
, ornone
.
example
"defaultPermission": [
[":config","config"],
[":write","write"],
[":read","read"],
[":user","write"],
[":trustedLink","write"],
["default","read"]
]
:trustedLink
is the default permission for all dslink installed with broker
:user
is the default group for all dglux users