18264: Merge branch 'main' into 18264-cwl-test-running-improvements
[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       system_root_token_api_client
18       public_project_group
19       public_project_read_permission
20       empty_collection
21     end
22     refresh_trashed
23   end
24 end