查看课程资源附件权限恢复
This commit is contained in:
parent
1216a994a5
commit
1b98572bc2
|
@ -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|
|
||||
|
|
Loading…
Reference in New Issue