summaryrefslogtreecommitdiffstats
path: root/lib/redmine.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-06-07 20:20:22 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-06-07 20:20:22 +0000
commitb674e80128a2658aaf153c0a8413665b7ae07285 (patch)
treecfd10822dd7de61b7b41514efc9696b8820fd7fb /lib/redmine.rb
parentf902860955813645d70f669c3961ebd35d4ed9a1 (diff)
downloadredmine-b674e80128a2658aaf153c0a8413665b7ae07285.tar.gz
redmine-b674e80128a2658aaf153c0a8413665b7ae07285.zip
New Permission: View Forum (#4866).
Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@16637 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine.rb')
-rw-r--r--lib/redmine.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb
index e3ff60fd1..6c53cfb19 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -169,7 +169,7 @@ Redmine::AccessControl.map do |map|
end
map.project_module :boards do |map|
- map.permission :view_messages, {:boards => [:index, :show], :messages => [:show]}, :public => true, :read => true
+ map.permission :view_messages, {:boards => [:index, :show], :messages => [:show]}, :read => true
map.permission :add_messages, {:messages => [:new, :reply, :quote], :attachments => :upload}
map.permission :edit_messages, {:messages => :edit, :attachments => :upload}, :require => :member
map.permission :edit_own_messages, {:messages => :edit, :attachments => :upload}, :require => :loggedin