Update websocket permissions

This commit is contained in:
Dane Everitt 2020-04-17 10:21:33 -07:00
parent 11035b561a
commit dbe403ef6e
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -20,13 +20,13 @@ import (
var alg *jwt.HMACSHA
const (
PermissionConnect = "websocket.*"
PermissionConnect = "websocket.connect"
PermissionSendCommand = "control.console"
PermissionSendPowerStart = "control.start"
PermissionSendPowerStop = "control.stop"
PermissionSendPowerRestart = "control.restart"
PermissionReceiveErrors = "admin.errors"
PermissionReceiveInstall = "admin.install"
PermissionReceiveErrors = "admin.websocket.errors"
PermissionReceiveInstall = "admin.websocket.install"
PermissionReceiveBackups = "backup.read"
)