summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-01-29 10:44:42 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-01-29 10:44:42 +0000
commitac7ebdc34a23787790e43976f55b29f48e08596a (patch)
treee5f9220638309ff8548ce1f454fae93bc2218829 /app
parente360394be7a4aac1f30a7c65819c78543b172870 (diff)
downloadredmine-ac7ebdc34a23787790e43976f55b29f48e08596a.tar.gz
redmine-ac7ebdc34a23787790e43976f55b29f48e08596a.zip
Merged r16283 (#23793).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@16300 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/helpers/application_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index c727d0be5..5183393f5 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -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 =~ /^(.+?)\#(.+)$/