Add 'sdk/java-v2/' from commit '55f103e336ca9fb8bf1720d2ef4ee8dd4e221118'
[arvados.git] / services / api / db / migrate / 20150206210804_all_users_can_read_anonymous_group.rb
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 class AllUsersCanReadAnonymousGroup < ActiveRecord::Migration
6   include CurrentApiClient
7
8   def up
9     anonymous_group_read_permission
10   end
11
12   def down
13     # Do nothing - it's too dangerous to try to figure out whether or not
14     # the permission was created by the migration.
15   end
16 end