projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
12032: Use permission_view in subquery to filter objects readable by user.
[arvados.git]
/
services
/
api
/
app
/
models
/
database_seeds.rb
diff --git
a/services/api/app/models/database_seeds.rb
b/services/api/app/models/database_seeds.rb
index 5a6d8750f564cff6d2a53cf332a5d672b6cfec38..6e7ab9b07677421ca76dcd6ddb57bc98ff8cb7a8 100644
(file)
--- a/
services/api/app/models/database_seeds.rb
+++ b/
services/api/app/models/database_seeds.rb
@@
-1,12
+1,16
@@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
class DatabaseSeeds
class DatabaseSeeds
-
include
CurrentApiClient
+
extend
CurrentApiClient
def self.install
system_user
system_group
all_users_group
anonymous_group
def self.install
system_user
system_group
all_users_group
anonymous_group
+ anonymous_group_read_permission
anonymous_user
empty_collection
end
end
anonymous_user
empty_collection
end
end
-