4533: Merge branch 'master' into 4533-remote-reset
[arvados.git] / services / api / lib / current_api_client.rb
index eaf54da143008c208635828d7d9ff522040a8a92..9f78587eabe9de75e37f49268d508d832203ad46 100644 (file)
@@ -108,10 +108,11 @@ module CurrentApiClient
     if not $all_users_group
       act_as_system_user do
         ActiveRecord::Base.transaction do
-          $system_group = Group.
+          $all_users_group = Group.
             where(uuid: all_users_group_uuid).first_or_create do |g|
             g.update_attributes(name: "All users",
-                                description: "All users")
+                                description: "All users",
+                                group_class: "role")
           end
         end
       end