mirror of
https://github.com/redmine/redmine.git
synced 2025-11-14 01:06:00 +01:00
Merged r16283 (#23793).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@16300 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -693,7 +693,7 @@ module ApplicationHelper
|
||||
title ||= identifier if page.blank?
|
||||
end
|
||||
|
||||
if link_project && link_project.wiki
|
||||
if link_project && link_project.wiki && User.current.allowed_to?(:view_wiki_pages, link_project)
|
||||
# extract anchor
|
||||
anchor = nil
|
||||
if page =~ /^(.+?)\#(.+)$/
|
||||
|
||||
Reference in New Issue
Block a user