Closed ghost closed 3 years ago
I believe that newer versions of Synapse enforce this correctly. (You might also need to ensure you're using a new-ish room version.)
Updated to the latest version and it still works. Room version is default (5).
@clokep sadly I don't think even recent versions of canonicaljson correctly enforce the int bounds.
@clokep sadly I don't think even recent versions of canonicaljson correctly enforce the int bounds.
I believe that room version 6 enforces this, see:
Room v5 is still a recommended default tho, so this doesn't really help the issue.
ah my bad, sorry.
We could enforce this in the C-S API, I guess, though it's hardly the biggest problem.
Description
You can create a room with a power level that is viewed as "Infinity"
Steps to reproduce
Instead, creating the room should fail.
Version information
Homeserver: blob.cat
Version: 1.11.0-1
Install method: Ubuntu package (with apt)
Platform: Ubuntu (on a VM)