upload_file_without_issues_permission.diff

Pascal Jungblut, 2013-12-10 10:56

Download (524 Bytes)

View differences:

lib/redmine.rb (working copy)
153 153
  end
154 154

  
155 155
  map.project_module :files do |map|
156
    map.permission :manage_files, {:files => [:new, :create]}, :require => :loggedin
156
    map.permission :manage_files, {:files => [:new, :create], :attachments => :upload}, :require => :loggedin
157 157
    map.permission :view_files, {:files => :index, :versions => :download}, :read => true
158 158
  end
159 159