14812: Finish first pass migrating config items
[arvados.git] / apps / workbench / app / views / application / _show_sharing.html.erb
index f22ba87a511ba7e2544e1b6125cd9444167dae4b..7877e60d3018096bdc3ad6b9ef4c4bd892631925 100644 (file)
@@ -1,3 +1,7 @@
+<%# Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: AGPL-3.0 %>
+
 <%
    uuid_map = {}
    if @share_links
@@ -22,7 +26,7 @@
    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