Conversation
|
|
||
| deleteFile(config, filename) { | ||
| return config.database.connect().then(() => { | ||
| let gridStore = new GridStore(config.database.db, filename, 'r'); |
There was a problem hiding this comment.
r stands for reading mode here, I honestly expect it not to work for file deletions.
|
This is pretty exciting! Good job on implementing this!
|
|
@nlutsenko Thanks for reviewing. I'll add in an e2e test to the PR. Regarding master-key security, I have a check in the deletionHandler for In any event, I'll also add a test for unauthenticated deletion attempt. |
|
Sorry, totally missed it, you are absolutely correct. |
|
@westhom updated the pull request. |
|
@westhom updated the pull request. |
04808c9 to
015fe85
Compare
|
@westhom updated the pull request. |
|
Added to ParseFile spec:
|
015fe85 to
a753765
Compare
|
@westhom updated the pull request. |
|
Looks great! So glad we have this now! |
|
Closed issue--> #340 |
e.g.
Returns empty 200 on success, but probably wants to return useful JSON instead? Fixes #340