Actions
Task #3422
closedIdea #2769: [Keep] Keep supports DELETE requests
Review 2769-keep-delete-request
Description
Review @ b9d9b77
This branch implements basic DELETE support for Keep:
The DeleteHandler method implements DELETE requests for Keep, checking that the user is authorized to issue DELETE and then deleting the requested block from local volumes.
- CanDelete checks that the user with the given token is authorized to delete blocks from Keep.
- MockVolume and UnixVolume objects provide a Delete method for deleting a block from that volume.
- TestDeleteHandler tests:
- Unauthenticated requests
- Requests from a non-admin user
- Requests from a non-admin user for a nonexistent block
- Requests from a non-admin user for an existing block
Updated by Peter Amstutz over 10 years ago
- Description updated (diff)
- Assigned To set to Peter Amstutz
Updated by Peter Amstutz over 10 years ago
- Status changed from New to In Progress
Updated by Tim Pierce over 10 years ago
- Assigned To changed from Peter Amstutz to Misha Zatsman
Updated by Tim Pierce over 10 years ago
- Status changed from In Progress to Resolved
- Remaining (hours) changed from 1.0 to 0.0
Actions