16007: Enable permission correctness checking (only for tests)
[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     system_user
11     system_group
12     all_users_group
13     anonymous_group
14     anonymous_group_read_permission
15     anonymous_user
16     empty_collection
17     refresh_permissions
18     refresh_trashed
19   end
20 end