summaryrefslogtreecommitdiffstats
path: root/app/views/issues
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2024-11-03 05:51:52 +0000
committerGo MAEDA <maeda@farend.jp>2024-11-03 05:51:52 +0000
commitf6cf0e72871f9a635eaa95392fefdf48e07728b1 (patch)
treed6617d7d377237f1a3fd85b9d09ef14532044527 /app/views/issues
parent2c802a2bdf3ad125a4051f9b04a96a9b51e0661b (diff)
downloadredmine-f6cf0e72871f9a635eaa95392fefdf48e07728b1.tar.gz
redmine-f6cf0e72871f9a635eaa95392fefdf48e07728b1.zip
Merged r23178 from trunk to 5.1-stable (#41465).
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@23179 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues')
-rw-r--r--app/views/issues/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb
index 997a64e55..796c56f0a 100644
--- a/app/views/issues/index.html.erb
+++ b/app/views/issues/index.html.erb
@@ -7,7 +7,7 @@
<%= link_to l(:field_summary), project_issues_report_path(@project), :class => 'icon icon-stats' %>
<% end %>
- <% if User.current.allowed_to?(:import_issues, @project, :global => true) %>
+ <% if User.current.allowed_to?(:import_issues, @project, :global => true) && User.current.allowed_to?(:add_issues, @project, :global => true) %>
<%= link_to l(:button_import), new_issues_import_path(:project_id => @project), :class => 'icon icon-import' %>
<% end %>