Skip to content

Permission List for the Root

Rick Zhou edited this page Feb 20, 2018 · 8 revisions

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, or none.

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

Protocol
 ◌ Design
 ◌ Initializing Connection
 ◌ Node API
  ◌ Methods
  ◌ Broker
   ◌ Broker Discovery
  ◌ Configs
  ◌ Value Types
 ◌ Tokens
 ◌ Quality of Service
DSLink Manager
 ◌ dslink.json
 ◌ Startup Command
SDK Development
 ◌ Implementation Guide
DSA Server
 ◌ Installation
 ◌ Update Server
 ◌ Server Configuration
 ◌ CLI Tools
 ◌ DSA Permission Basics
 ◌ DSA Permission Model
  ◌ Permission List for the Root
 ◌ Authentication
  ◌ OpenID Connect
  ◌ Password Hasher
 ◌ DGLux Server SSL (HTTPS)
 ◌ Docker
 ◌ Audit
 ◌ Data Node
 ◌ Install NGINX with DSA Server
 ◌ Configure Ubuntu Linux to auto start DSA server
 ◌ Troubleshooting

Clone this wiki locally