From c15ef27fc0ed13ccdfb0ce8e9e323ee1e063a374 Mon Sep 17 00:00:00 2001 From: huang Date: Wed, 15 Jun 2016 14:36:38 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=91=98=E8=83=BD=E7=9C=8B?= =?UTF-8?q?=E5=88=B0=E7=BB=84=E7=BB=87=E8=B5=84=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/files/_org_subfield_list.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/files/_org_subfield_list.html.erb b/app/views/files/_org_subfield_list.html.erb index 66b68e895..a3337b1ce 100644 --- a/app/views/files/_org_subfield_list.html.erb +++ b/app/views/files/_org_subfield_list.html.erb @@ -1,7 +1,7 @@ <% delete_allowed = User.current.admin? %> <% org_subfield_attachments.each do |file| %> - <% if file.is_public == 1 or User.current.member_of_org?(file.container.organization) %> + <% if file.is_public == 1 or User.current.member_of_org?(file.container.organization) || User.current.admin? %>