feat(Core/Chat): Add chat filter with Aho-Corasick matching (#26051)

This commit is contained in:
Kitzunu
2026-06-01 22:26:28 +02:00
committed by GitHub
parent 333ba2f9ec
commit 8b8ba243d8
19 changed files with 494 additions and 4 deletions

View File

@@ -0,0 +1,12 @@
--
DELETE FROM `rbac_permissions` WHERE `id` IN (923, 924, 925);
INSERT INTO `rbac_permissions` (`id`, `name`) VALUES
(923, 'Command: chatfilter list'),
(924, 'Command: chatfilter add'),
(925, 'Command: chatfilter remove');
DELETE FROM `rbac_linked_permissions` WHERE `id` = 197 AND `linkedId` IN (923, 924, 925);
INSERT INTO `rbac_linked_permissions` (`id`, `linkedId`) VALUES
(197, 923),
(197, 924),
(197, 925);