diff options
author | Erik Johnston <erik@matrix.org> | 2016-03-01 14:46:31 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-03-01 14:46:31 +0000 |
commit | f9af8962f8ea6201ed3910eb248b8668f1262fef (patch) | |
tree | edf18765c87fa0befbb928f4ca37022bb0faf078 /synapse/rest | |
parent | Merge pull request #611 from matrix-org/erikj/expiring_cache_size (diff) | |
download | synapse-f9af8962f8ea6201ed3910eb248b8668f1262fef.tar.xz |
Allow alias creators to delete aliases
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/client/v1/directory.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/rest/client/v1/directory.py b/synapse/rest/client/v1/directory.py index 74ec1e50e0..55c22000fd 100644 --- a/synapse/rest/client/v1/directory.py +++ b/synapse/rest/client/v1/directory.py @@ -118,9 +118,6 @@ class ClientDirectoryServer(ClientV1RestServlet): requester = yield self.auth.get_user_by_req(request) user = requester.user - is_admin = yield self.auth.is_server_admin(user) - if not is_admin: - raise AuthError(403, "You need to be a server admin") room_alias = RoomAlias.from_string(room_alias) |