[ARVADOS] updated: 1.3.0-3211-gd371cc992

Git user git at public.arvados.org
Tue Sep 22 21:15:54 UTC 2020


Summary of changes:
 services/api/app/models/database_seeds.rb | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

       via  d371cc9924105d7db4389edbe3a765e759a080f8 (commit)
      from  56524d5ff75c38af0df5f9bc7852dec1ac756f3c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit d371cc9924105d7db4389edbe3a765e759a080f8
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Tue Sep 22 17:15:19 2020 -0400

    Tweak database seeds so the reset-to-fixture API works
    
    refs #16811
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>

diff --git a/services/api/app/models/database_seeds.rb b/services/api/app/models/database_seeds.rb
index abfb672af..67bd3d10d 100644
--- a/services/api/app/models/database_seeds.rb
+++ b/services/api/app/models/database_seeds.rb
@@ -7,17 +7,18 @@ require 'update_permissions'
 class DatabaseSeeds
   extend CurrentApiClient
   def self.install
-    system_user
-    system_group
-    all_users_group
-    anonymous_group
-    anonymous_group_read_permission
-    anonymous_user
-    system_root_token_api_client
-    public_project_group
-    public_project_read_permission
-    empty_collection
-    refresh_permissions
+    batch_update_permissions do
+      system_user
+      system_group
+      all_users_group
+      anonymous_group
+      anonymous_group_read_permission
+      anonymous_user
+      system_root_token_api_client
+      public_project_group
+      public_project_read_permission
+      empty_collection
+    end
     refresh_trashed
   end
 end

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list