diff options
author | drebs <drebs@riseup.net> | 2017-08-21 13:35:52 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2017-08-23 01:55:01 -0400 |
commit | c987539220a36c6370f7b89ff7227f71806c93ff (patch) | |
tree | 22d75ca47201809f43f523f2c8af574d7f4361b4 | |
parent | a2e3de8906734b07a3218c867a1674ead4ded9b8 (diff) |
[bug] add missing DELETE permission for blobs
-rw-r--r-- | src/leap/soledad/server/url_mapper.py | 2 |
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 |