Merge branch 'dev_newproject' into develop
This commit is contained in:
commit
d9ec0a93d3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue