Skip to content
Snippets Groups Projects
Commit 716b40cf authored by Kevin S. Hahn's avatar Kevin S. Hahn
Browse files

targetted file uploads require read-write perms

- works on #15
parent 99404017
No related branches found
No related tags found
No related merge requests found
......@@ -244,7 +244,7 @@ class Container(base.RequestHandler):
# FIXME check that processor is legit
elif cid is not None: # targeted user upload
_id = bson.ObjectId(cid)
container, _ = self._get(_id, 'admin')
container, _ = self._get(_id, 'rw')
else: # sortable user upload
pass
# FIXME: pre-parse file, reject if unparsable
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment