Error 403 when uploading a file

Added by Mathieu Villemont about 8 years ago


I gave all documents permissions to a role (add, modify, delete, open) and also to the files.
When I log in with this role I can access the New document page but when I upload a file (< 10 Mo) I get the error Forbidden :

I can see the server responds with an Error 403 and in the log I have the following :

Started POST "/uploads.js?attachment_id=1&filename=redmine_install.txt" for at 2014-03-13 09:16:10 +0100
Processing by AttachmentsController#upload as JS
  Parameters: {"attachment_id"=>"1", "filename"=>"redmine_install.txt"}
  Current user: architecte (id=32)
Filter chain halted as :authorize_global rendered or redirected
Completed 403 Forbidden in 16ms (ActiveRecord: 0.0ms)

Using my admin role I can upoad any file without any problem.

What could be the problem ?



redmine.PNG - screen capture (3.9 KB)

Replies (1)

RE: Error 403 when uploading a file - Added by Vitaliy Petrachkov over 7 years ago

are you fix this error?