Subuser permissions sometimes get saved as an object instead of an array
itsvic-dev opened this issue · comments
Victor B. commented
Current Behavior
Expected Behavior
Subuser permissions should be an array.
Steps to Reproduce
- Invite a subuser.
- Fiddle around with the permissions for a while, saving multiple times.
- Hopefully after a while you get the following error, and the
permissions
attribute becomes an object.
Uncaught TypeError: subuser.permissions.filter is not a function
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?
- I have searched the existing issues before opening this issue.
- I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
- I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.