summary refs log tree commit diff
path: root/synapse/rest/client/push_rule.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/rest/client/push_rule.py')
-rw-r--r--synapse/rest/client/push_rule.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/rest/client/push_rule.py b/synapse/rest/client/push_rule.py
index ad5c10c99d..1147b6f8ec 100644
--- a/synapse/rest/client/push_rule.py
+++ b/synapse/rest/client/push_rule.py
@@ -44,6 +44,9 @@ class PushRuleRestServlet(RestServlet):
         "Unrecognised request: You probably wanted a trailing slash"
     )
 
+    WORKERS_DENIED_METHODS = ["PUT", "DELETE"]
+    CATEGORY = "Push rule requests"
+
     def __init__(self, hs: "HomeServer"):
         super().__init__()
         self.auth = hs.get_auth()