21448: adjusted test specs Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii...
[arvados.git] / services / api / app / models / database_seeds.rb
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 require 'update_permissions'
6
7 class DatabaseSeeds
8   extend CurrentApiClient
9   def self.install
10     batch_update_permissions do
11       system_user
12       system_group
13       all_users_group
14       anonymous_group
15       anonymous_group_read_permission
16       anonymous_user
17       anonymous_user_token_api_client
18       system_root_token_api_client
19       public_project_group
20       public_project_read_permission
21       empty_collection
22     end
23     refresh_trashed
24   end
25 end