3072: anonymous group can_read empty collection
[arvados.git] / services / api / db / migrate / 20140714184006_empty_collection.rb
1 class EmptyCollection < ActiveRecord::Migration
2   include CurrentApiClient
3
4   def up
5     act_as_system_user do
6       empty_collection
7     end
8   end
9
10   def down
11     # do nothing when migrating down (having the empty collection
12     # and a permission link for it is harmless)
13   end
14 end