You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We experience the same issue. Resulting in this error:
Wings log:
ERROR: [May 16 13:25:34.620] error processing websocket event "auth" error=json: cannot unmarshal object into Go struct field WebsocketPayload.permissions of type []string error_identifier=4c036e43-86c2-4852-8f78-8946f03f18ce event=auth server=23136c52-f6ba-401e-aebd-460284996d92
Stacktrace:
json: cannot unmarshal object into Go struct field WebsocketPayload.permissions of type []string
github.com/apex/log.(*Entry).Errorf
/root/go/pkg/mod/github.com/apex/log@v1.9.0/entry.go:132
github.com/pterodactyl/wings/router/websocket.(*Handler).SendErrorJson
/root/wings/wings/router/websocket/websocket.go:246
github.com/pterodactyl/wings/router.getServerWebsocket.func3
/root/wings/wings/router/router_server_ws.go:86
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1695
Database records where you can see some permission fields are objets and some arrays:
matthewpi
added
bug
Something that's not working as it's intended to be.
and removed
not confirmed
Report seems plausible but requires additional testing or 3rd part confirmation.
labels
May 16, 2024
Current Behavior
As is said in the title.
Expected Behavior
Subuser permissions should be an array.
Steps to Reproduce
permissions
attribute becomes an object.Panel Version
1.11.5
Wings Version
1.11.11
Games and/or Eggs Affected
No response
Docker Image
No response
Error Logs
No response
Is there an existing issue for this?
The text was updated successfully, but these errors were encountered: