5915: Workbench tries the anonymous reader token first for collection wget listing.
authorBrett Smith <brett@curoverse.com>
Thu, 14 May 2015 22:32:02 +0000 (18:32 -0400)
committerBrett Smith <brett@curoverse.com>
Thu, 14 May 2015 22:32:02 +0000 (18:32 -0400)
commitb7c7f20d17afc11d2cce7bfee2205a26dc4a4762
tree9f53676168f0a3e86f7b6496232b634bdc29475f
parent01574a902d99cba21ed53e62cef6bef683bed2a2
5915: Workbench tries the anonymous reader token first for collection wget listing.

This is necessary to make sure we provide a usable token to arv-get.
If we don't check the anonymous reader token first, we might decide
that another token is usable when in actuality, the reader token is
the one that worked.  Closes #5915.
apps/workbench/app/controllers/collections_controller.rb