Modified IndexHandler to match TrashHandler and PullHandler
authormishaz <misha@curoverse.com>
Tue, 14 Oct 2014 22:11:40 +0000 (22:11 +0000)
committermishaz <misha@curoverse.com>
Wed, 15 Oct 2014 21:01:32 +0000 (21:01 +0000)
commitadbea418d67bfe3b30a305c43d22b858d5a81e92
treeafc64b2a055a9a5f8e45cfb6f40e96e8916619f7
parent8cfc0583424956ca6b2a3f1f2efcf751e185aa3a
Modified IndexHandler to match TrashHandler and PullHandler
* No longer checks for the enforce-permissions flag.
* Still checks for DataManager auth token.
* The HTTP error returned when we don't find the DataManager auth token is now Unauthorized instead of Forbidden.

Modified tests to check for new behavior.
services/keepstore/handler_test.go
services/keepstore/handlers.go