16007: Enable permission correctness checking (only for tests)
[arvados.git] / services / api / app / models / database_seeds.rb
index cd97349823f1048d3c64ff7535365b531e5c4647..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
@@ -8,5 +14,7 @@ class DatabaseSeeds
     anonymous_group_read_permission
     anonymous_user
     empty_collection
+    refresh_permissions
+    refresh_trashed
   end
 end