Merge branch '19954-permission-dedup-doc'
[arvados.git] / apps / workbench / app / views / projects / _choose.html.erb
index badaa24983f2640e60a2d2e8397d9842941f74ea..633a9ba33fea4f93606a2a6f9ac5a3e2ed2d0828 100644 (file)
@@ -1,3 +1,7 @@
+<%# Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: AGPL-3.0 %>
+
 <div class="modal modal-with-loading-spinner">
   <div class="modal-dialog">
     <div class="modal-content">
@@ -13,7 +17,7 @@
 
       <div class="modal-body">
         <div class="selectable-container" style="height: 15em; overflow-y: scroll">
-          <% starred_projects = my_starred_projects current_user%>
+          <% starred_projects = my_starred_projects current_user, 'project' %>
           <% if starred_projects.andand.any? %>
             <% writable_projects = starred_projects.select(&:editable?) %>
             <% writable_projects.each do |projectnode| %>