summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2022-01-10 07:11:14 +0000
committerGo MAEDA <maeda@farend.jp>2022-01-10 07:11:14 +0000
commit873580ca74a392ca3f8cec78b214f8c70f5d6f17 (patch)
tree66d2a51955543b5679f311f327ebdfa70b9375e2 /app/views
parenta68a1875405fd79b8614d73c61449d25bd63efd5 (diff)
downloadredmine-873580ca74a392ca3f8cec78b214f8c70f5d6f17.tar.gz
redmine-873580ca74a392ca3f8cec78b214f8c70f5d6f17.zip
Permission check of the setting button on the issues page mismatches button semantics (#35090).
Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@21357 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-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 880c953ea..b05b6ccf2 100644
--- a/app/views/issues/index.html.erb
+++ b/app/views/issues/index.html.erb
@@ -13,7 +13,7 @@
<%= link_to_if_authorized l(:label_settings),
{:controller => 'projects', :action => 'settings', :id => @project, :tab => 'issues'},
- :class => 'icon icon-settings' if User.current.allowed_to?(:manage_categories, @project) %>
+ :class => 'icon icon-settings' if User.current.allowed_to?(:edit_project, @project) %>
<% end %>
</div>