workbench: Add initial reader tokens support.
authorBrett Smith <brett@curoverse.com>
Mon, 5 May 2014 14:54:53 +0000 (10:54 -0400)
committerBrett Smith <brett@curoverse.com>
Mon, 5 May 2014 19:18:56 +0000 (15:18 -0400)
commit5ab27a2c4889609669f6b04bd9dfd2e403e43441
treec824141e2b342e663dc47e293e639e882bac8a44
parent256142bddd532e2834b4e7f79c3146009e23059e
workbench: Add initial reader tokens support.

The API server recently gained support for reader tokens, which
optionally supplement the user's permissions for read-only
operations.  This commit extends Workbench to pass on reader tokens
for general index and show operations.
apps/workbench/app/controllers/application_controller.rb
apps/workbench/app/models/arvados_api_client.rb
apps/workbench/test/functional/collections_controller_test.rb