Merge pull request #6003 from mikeyhenein/permissions-schema

Reject unknown keys in PUT /api/users/:id/permissions (an extra key crashes the backend)
This commit is contained in:
jc21 authored and GitHub committed 2026-11-04 14:34:24 +10:00
commit 44ada6ad5a
1 file changed
+1
@@ -1,6 +1,7 @@
{
"type": "object",
"minProperties": 1,
"additionalProperties": false,
"properties": {
"visibility": {
"type": "string",