16007: Enable permission correctness checking (only for tests)
[arvados.git] / services / api / app / models / database_seeds.rb
index bc68283db290dd5a84b7d05196b910eef55074c5..39f491503ee583033f80ae72ef982261c6ba0af9 100644 (file)
@@ -1,3 +1,9 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
+require 'update_permissions'
+
 class DatabaseSeeds
   extend CurrentApiClient
   def self.install
@@ -5,7 +11,10 @@ class DatabaseSeeds
     system_group
     all_users_group
     anonymous_group
+    anonymous_group_read_permission
     anonymous_user
     empty_collection
+    refresh_permissions
+    refresh_trashed
   end
 end