mirror of
https://github.com/redmine/redmine.git
synced 2026-01-28 10:19:55 +01:00
Update condition to check for @view_issues@ permission (#39995).
Patch by Holger Just (@hjust). git-svn-id: https://svn.redmine.org/redmine/trunk@22745 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
<%= check_box_tag "completed", 1, params[:completed] %> <%= l(:label_show_completed_versions) %>
|
||||
</label>
|
||||
</li>
|
||||
<% if @project.descendants.visible.any? %>
|
||||
<% if @project.descendants.allowed_to(:view_issues).any? %>
|
||||
<li>
|
||||
<%= hidden_field_tag 'with_subprojects', 0, :id => nil %>
|
||||
<label>
|
||||
|
||||
Reference in New Issue
Block a user