Modify ↓
Opened 17 years ago
Last modified 17 years ago
#2620 assigned enhancement
patch for limiting upload file size
Reported by: | Mario | Owned by: | Petr Škoda |
---|---|---|---|
Priority: | normal | Component: | TracDownloaderPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
Small patch which adds file size limiting.
Attachments (2)
Change History (4)
Changed 17 years ago by
Attachment: | limit_file_upload_size.patch added |
---|
comment:1 follow-up: 2 Changed 17 years ago by
Status: | new → assigned |
---|
Changed 17 years ago by
Attachment: | permission.patch added |
---|
comment:2 Changed 17 years ago by
Replying to peca:
Hello,
thanks for your contribution. At this moment I'm not quite sure if this is exactly what is needed but I htink I will add this patch into next releases. The thing is that into adminstration of files should be allowed access only for administrators and not for users. But if max_filesize stays configurable only in config file, it could be useful for some people...
Thanks a lot!
Replying to mwehr:
Small patch which adds file size limiting.
Hi
I solved the file size limit admin problem by allowing only trac_admin to change the "settings"
see permission.patch.
Note: See
TracTickets for help on using
tickets.
Hello,
thanks for your contribution. At this moment I'm not quite sure if this is exactly what is needed but I htink I will add this patch into next releases. The thing is that into adminstration of files should be allowed access only for administrators and not for users. But if max_filesize stays configurable only in config file, it could be useful for some people...
Thanks a lot!
Replying to mwehr: