X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0f644e242ef37c911ad3dc25aca8135c339de349..917330c81bb370225ccd0e051dbdca3d1870710e:/apps/workbench/app/views/application/_show_sharing.html.erb diff --git a/apps/workbench/app/views/application/_show_sharing.html.erb b/apps/workbench/app/views/application/_show_sharing.html.erb index 8403ee0b4f..75773ab900 100644 --- a/apps/workbench/app/views/application/_show_sharing.html.erb +++ b/apps/workbench/app/views/application/_show_sharing.html.erb @@ -8,6 +8,8 @@ SPDX-License-Identifier: AGPL-3.0 %> [User, Group].each do |type| type .filter([['uuid','in',@share_links.collect(&:tail_uuid)]]) + .with_count("none") + .fetch_multiple_pages(false) .each do |o| uuid_map[o.uuid] = o end @@ -26,7 +28,7 @@ SPDX-License-Identifier: AGPL-3.0 %> choose_filters = { "groups" => [["group_class", "=", "role"]], } - if not Rails.configuration.anonymous_user_token + if Rails.configuration.Users.AnonymousUserToken.empty? # It would be ideal to filter out the anonymous group by UUID, # but that's not readily doable. Workbench can't generate the # UUID for a != filter, because it can't introspect the API