summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2017-08-21 13:35:52 -0400
committerKali Kaneko <kali@leap.se>2017-08-23 01:55:01 -0400
commitc987539220a36c6370f7b89ff7227f71806c93ff (patch)
tree22d75ca47201809f43f523f2c8af574d7f4361b4
parenta2e3de8906734b07a3218c867a1674ead4ded9b8 (diff)
[bug] add missing DELETE permission for blobs
-rw-r--r--src/leap/soledad/server/url_mapper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/soledad/server/url_mapper.py b/src/leap/soledad/server/url_mapper.py
index 4cbfaf42..423472b9 100644
--- a/src/leap/soledad/server/url_mapper.py
+++ b/src/leap/soledad/server/url_mapper.py
@@ -74,7 +74,7 @@ class URLMapper(object):
self._connect('/user-{uuid}/sync-from/{source_replica_uid}',
['GET', 'PUT', 'POST'])
# auth info for blobs resource
- self._connect('/blobs/{uuid}/{blob_id}', ['GET', 'PUT'])
+ self._connect('/blobs/{uuid}/{blob_id}', ['GET', 'PUT', 'DELETE'])
self._connect('/blobs/{uuid}/', ['GET'])
# incoming resource