X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e4382e25d68a70a107baeb257e1915972759334c..968526e233fede288bf332aab724c170fe88345c:/apps/workbench/app/views/projects/_show_sharing.html.erb diff --git a/apps/workbench/app/views/projects/_show_sharing.html.erb b/apps/workbench/app/views/projects/_show_sharing.html.erb index cafaf6dae7..cc862c425c 100644 --- a/apps/workbench/app/views/projects/_show_sharing.html.erb +++ b/apps/workbench/app/views/projects/_show_sharing.html.erb @@ -2,7 +2,7 @@ uuid_map = {} if @share_links [User, Group].each do |type| - type.limit(10000) + type .filter([['uuid','in',@share_links.collect(&:tail_uuid)]]) .each do |o| uuid_map[o.uuid] = o @@ -40,7 +40,6 @@ by_project: false, preview_pane: false, multiple: true, - limit: 10000, filters: choose_filters[share_class].to_json, action_method: 'post', action_href: share_with_project_path, @@ -61,6 +60,7 @@ + @@ -72,12 +72,19 @@ link_name = shared_with.full_name else link_name = shared_with.name - end %> + end + if shared_with && shared_with.respond_to?(:email) + email = shared_with.email + end + %> +
User/Group NameEmail Address Project Access
<%= link_to_if_arvados_object(link.tail_uuid, link_text: link_name) %> + <%= email %> + <%= link_to perm_name_desc_map[link.name], '#', { "data-emptytext" => "Read", "data-placement" => "bottom",