+<%# Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: AGPL-3.0 %>
+
<%
uuid_map = {}
if @share_links
[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
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