[patch] Add more control over attachments for the average user
|Reported by:||Christian Boos||Owned by:|
|Severity:||normal||Keywords:||patch attachment permission|
|Cc:||dserodio@…, mbertier@…, rsalveti@…, vnbang2003@…, luke-trac@…, andrex@…||Branch:|
Currently, the average user can simply add attachments, and has no further control over the files that he has previously attached.
I would suggest that a user should be able to:
- delete a file attached by himself (Note: this would imply that an anonymous user could delete files added by another anonymous user)
- replace a file attached by himself by a newer version, simply by keeping a new Replace existing file checkbox checked, on the attachment form
Of course, the users with the
WIKI_DELETE would still be able to
remove any attachment in the appropriate module.
In addition to the above changes, the patch also contains a small enhancement to the display of an attachment (as I have now the attachment information available, I show it in a way similar to the file revision information).
Change History (38)
comment:13 by , 14 years ago
|Status:||closed → reopened|
follow-up: 37 comment:36 by , 3 months ago
|Status:||new → closed|