Menu

Commit [r8505]  Maximize  Restore  History

0.11-stable: Fixed the test for replacing attachments, which should be allowed even if a user doesn't have `ATTACHMENT_DELETE` if that user is authenticated and is replacing her own attachment (as per [1874]).

Also, hidden the "Replace attachment" checkbox in the only case where it is certain that the user cannot replace any attachments (an anonymous user).

Closes #8592.

rblank 2009-08-25

changed /branches/0.11-stable/trac/attachment.py
changed /branches/0.11-stable/trac/templates/attachment.html
/branches/0.11-stable/trac/attachment.py Diff Switch to side-by-side view
Loading...
/branches/0.11-stable/trac/templates/attachment.html Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB