查看课程资源附件权限恢复

This commit is contained in:
z9hang 2014-09-29 11:01:04 +08:00
parent 1216a994a5
commit 1b98572bc2
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ Redmine::AccessControl.map do |map|
map.course_module :files do |map|
# map.permission :manage_files, {:files => [:new, :create]}, :require => :loggedin
map.permission :view_course_files, {:files => :index, :versions => :download}, :read => true
map.permission :view_course_files, {:files => :index, :versions => :download}, :read => true,:belong_to_course => true
end
map.course_module :news do |map|