{ "roles": [ { "rolename": "admin", "acls": [{ "acltype": "publishClientSend", "topic": "$CONTROL/dynamic-security/#", "allow": true }, { "acltype": "publishClientReceive", "topic": "$CONTROL/dynamic-security/#", "allow": true }, { "acltype": "subscribePattern", "topic": "$CONTROL/dynamic-security/#", "allow": true }, { "acltype": "publishClientReceive", "topic": "$SYS/#", "allow": true }, { "acltype": "subscribePattern", "topic": "$SYS/#", "allow": true }, { "acltype": "publishClientReceive", "topic": "#", "allow": true }, { "acltype": "subscribePattern", "topic": "#", "allow": true }, { "acltype": "unsubscribePattern", "topic": "#", "allow": true }] }, { "rolename": "read-write-role", "acls": [ { "acltype": "publishClientSend", "topic": "#", "priority": 0, "allow": true }, { "acltype": "subscribeLiteral", "topic": "#", "priority": 0, "allow": true }, { "acltype": "unsubscribeLiteral", "topic": "#", "priority": 0, "allow": true } ] }, { "rolename": "write-only-role", "acls": [ { "acltype": "publishClientSend", "topic": "#", "priority": 0, "allow": true }, { "acltype": "subscribeLiteral", "topic": "#", "priority": 0, "allow": false }, { "acltype": "subscribePattern", "topic": "#", "priority": 0, "allow": false } ] }, { "rolename": "read-only-role", "acls": [ { "acltype": "subscribeLiteral", "topic": "#", "priority": 0, "allow": true }, { "acltype": "publishClientSend", "topic": "#", "priority": 0, "allow": false } ] } ], "clients": [ { "username": "admin-user", "textName": "Dynsec admin user, password geheim", "password": "qFa1Zzq4SXwI1aGJq9rJm14m6LWiv+7p4mbDfsQK1x15NOBdZke4GO6zxSBfOXinRgVKES/tlyfmVJhq0N6rKw==", "salt": "Qv02Q1Ngia2GacTB", "iterations": 101, "roles": [{ "rolename": "admin" }] }, { "username": "rw", "roles": [ { "rolename": "read-write-role" } ] }, { "username": "wo", "roles": [ { "rolename": "write-only-role" } ] }, { "username": "ro", "roles": [ { "rolename": "read-only-role" } ] } ], "default_access": { "publishClientSend": false, "publishClientReceive": true, "subscribeLiteral": false, "subscribePattern": false, "unsubscribeLiteral": false, "subscribe": false, "unsubscribe": true } }