diff --git a/lib/redmine.rb b/lib/redmine.rb index 39610ecbc..885c61969 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -126,11 +126,11 @@ Redmine::AccessControl.map do |map| map.permission :view_course_files, {:files => :index, :versions => :download}, :read => true,:belong_to_course => true end - map.course_module :news do |map| - # map.permission :manage_news, {:news => [:new, :create, :edit, :update, :destroy], :comments => [:destroy]}, :require => :member + map.course_module :news do |map| + map.permission :manage_news, {:news => [:new, :create, :edit, :update, :destroy], :comments => [:destroy]}, :require => :member map.permission :view_course_news, {:news => [:index, :show]}, :public => true, :read => true - # map.permission :comment_news, {:comments => :create} - end + map.permission :comment_news, {:comments => :create} + end map.course_module :bids do |map| map.permission :view_homework_attaches, {:bids => [:show, :show_project, :revision]}, :read => true,:belong_to_course => true