api: Migrate VM auth scopes to new system.
authorBrett Smith <brett@curoverse.com>
Mon, 28 Apr 2014 18:01:53 +0000 (14:01 -0400)
committerTom Clegg <tom@curoverse.com>
Tue, 29 Apr 2014 00:12:47 +0000 (20:12 -0400)
commitbf15373590e21dafd696fa0c10906eb653610d1d
treeced4c11821165fecbb8e69bf68fc6390b84308f6
parent8086f73aca674d7533e88bdd3850042553487d2b
api: Migrate VM auth scopes to new system.

VirtualMachinesController was the only one doing anything special with
API token scopes before we provided the more general-purpose system.
This commit removes its specialized code, and provides a database
migration to convert those specialized scopes to the general-purpose
schema.
services/api/app/controllers/arvados/v1/virtual_machines_controller.rb
services/api/db/migrate/20140423133559_new_scope_format.rb [new file with mode: 0644]
services/api/db/schema.rb
services/api/test/fixtures/api_client_authorizations.yml