Fix wording for globs in policy lists (#1165)
* Fix wording for globs in policy lists The specification here does neither match how globs work in common libraries nor do they match how they are used in practice currently or how the MSC worded them (which said they should be like server ACLs). As such this seems to be an issue introduced when writing the spec text. Ref mjolnir: -pull/1166/headb48904bc2b/src/models/ListRule.ts (L44)
Ref matrix bot sdk (which implements the glob used above): -473e563236/src/helpers/MatrixGlob.ts (L26)
-f799b1fe1a/test/helpers/MatrixGlobTest.ts (L44)
Ref original MSC: -c7b3d99853/proposals/2313-moderation-policy-rooms.md
?plain=1#L36 - https://spec.matrix.org/v1.3/client-server-api/#server-access-control-lists-acls-for-rooms fixes https://github.com/matrix-org/matrix-spec/issues/17 Signed-off-by: Nicolas Werner <nicolas.werner@hotmail.de> * Add changelog Signed-off-by: Nicolas Werner <nicolas.werner@hotmail.de>
parent
adf8f4817d
commit
5bf35327c6
@ -0,0 +1 @@
|
|||||||
|
Clarify that policy rule globs work like ACL globs. Contributed by Nico.
|
Loading…
Reference in New Issue