diff options
author | Erik Johnston <erik@matrix.org> | 2014-09-23 17:36:17 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-09-23 17:36:24 +0100 |
commit | bc250a6afa68b7584f3b7b3aacb919df406da75a (patch) | |
tree | db6bfd1b559eadcb70e742f5df0b4531d6ed17ff /synapse/handlers | |
parent | Add prune_event method (diff) | |
download | synapse-bc250a6afa68b7584f3b7b3aacb919df406da75a.tar.xz |
SYN-12: Implement auth for deletion by adding a 'delete_level' on the ops levels event
SYN-12 # comment Auth has been added.
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/room.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py index 5bc1280432..18597c694d 100644 --- a/synapse/handlers/room.py +++ b/synapse/handlers/room.py @@ -255,6 +255,7 @@ class RoomCreationHandler(BaseHandler): etype=RoomOpsPowerLevelsEvent.TYPE, ban_level=50, kick_level=50, + delete_level=50, ) return [ |