From 873580ca74a392ca3f8cec78b214f8c70f5d6f17 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Mon, 10 Jan 2022 07:11:14 +0000 Subject: 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 --- app/views/issues/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views') 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 %> -- cgit v1.2.3