Browse Source

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
pull/149/head
Marius Balteanu 2 months ago
parent
commit
d757b4aea7
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/views/versions/_sidebar.html.erb

+ 1
- 1
app/views/versions/_sidebar.html.erb View File

@@ -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>

Loading…
Cancel
Save