Arvados-DCO-1.1-Signed-off-by: Radhika Chippada <radhika@curoverse.com>
[arvados.git] / apps / workbench / app / views / application / _show_sharing.html.erb
index 4b7beb30592832261722e32be0dca21af35044ca..8403ee0b4fe20345d92cbf2e30fe843150b6d635 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
@@ -48,6 +52,7 @@
 
   <%= link_to(send("choose_#{share_class}_path",
       title: "Share with #{share_class}",
+      message: "Only #{share_class} you are allowed to access are shown. Please contact your administrator if you need to be added to a specific group.",
       by_project: false,
       preview_pane: false,
       multiple: true,
   <%= link_to_if_arvados_object @object.owner_uuid, friendly_name: true %>.
 </p>
 
+<% if @object.is_a? Repository %>
+<p>
+  Please note that changes to git repository sharing may take up to two minutes to take effect.
+</p>
+<% end %>
+
 <table id="object_sharing" class="topalign table" style="clear: both; margin-top: 1em;">
   <tr>
     <th>User/Group Name</th>