Project

General

Profile

Error 403 when uploading a file

Added by Mathieu Villemont about 10 years ago

Hi,

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 127.0.0.1 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 ?

Thanks.

Mathieu

redmine.PNG (3.9 KB) redmine.PNG screen capture

Replies (1)

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

Hi,
are you fix this error?

Thanks.

    (1-1/1)