diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb index 6f4d3e07c..5f01787c2 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -217,6 +217,7 @@ Redmine::MenuManager.map :application_menu do |menu| menu.push :calendar, { :controller => 'calendars', :action => 'show' }, :caption => :label_calendar menu.push :news, {:controller => 'news', :action => 'index'}, + :if => Proc.new {User.current.allowed_to?(:view_news, nil, :global => true)}, :caption => :label_news_plural end |