Provide roles and permission for the control user

Add the roles and their permissions for the user the control connection
is connected as along with updates when these change.  This enables the
web interface to know which permissions it has available to it.
This commit is contained in:
Hornwitser committed 2021-09-20 00:52:59 +02:00
1 parent 1035389c9e
commit 18e9fc8e7c
9 files changed
+178 -10

No files matched your search

+2
View File
@@ -49,6 +49,8 @@ class TestControl extends libLink.Link {
async debugWsMessageEventHandler() { }
async accountUpdateEventHandler() { }
async slaveUpdateEventHandler(message) {
this.slaveUpdates.push(message.data);
}