Update websocket permissions
This commit is contained in:
parent
11035b561a
commit
dbe403ef6e
|
@ -20,13 +20,13 @@ import (
|
||||||
var alg *jwt.HMACSHA
|
var alg *jwt.HMACSHA
|
||||||
|
|
||||||
const (
|
const (
|
||||||
PermissionConnect = "websocket.*"
|
PermissionConnect = "websocket.connect"
|
||||||
PermissionSendCommand = "control.console"
|
PermissionSendCommand = "control.console"
|
||||||
PermissionSendPowerStart = "control.start"
|
PermissionSendPowerStart = "control.start"
|
||||||
PermissionSendPowerStop = "control.stop"
|
PermissionSendPowerStop = "control.stop"
|
||||||
PermissionSendPowerRestart = "control.restart"
|
PermissionSendPowerRestart = "control.restart"
|
||||||
PermissionReceiveErrors = "admin.errors"
|
PermissionReceiveErrors = "admin.websocket.errors"
|
||||||
PermissionReceiveInstall = "admin.install"
|
PermissionReceiveInstall = "admin.websocket.install"
|
||||||
PermissionReceiveBackups = "backup.read"
|
PermissionReceiveBackups = "backup.read"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user