#2302 closed enhancement (fixed)
Inline file upload should be controlled by configuration
Reported by: | doit-cu | Owned by: | davidhouse |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.0 |
Component: | Administration | Keywords: | bg|2nd-opinion bg|has-patch |
Focuses: | Cc: |
Description
At a minimum, an administrator should be able to turn this on/off in the options section. I see there's already a current_user_can statement in inline-uploading.php, so it might be nice to handle it via some capabilities. Finally, it might be nice to control which MIME types can be uploaded via some interface, rather than hard coding them.
Attachments (3)
Change History (13)
#2
@
19 years ago
- Owner changed from anonymous to davidhouse
- Status changed from new to assigned
I'll definitely go with the cap, I'm less sold on the config option: I'll sit on the fence for that one. Drafting up a patch to add the cap.
#3
@
19 years ago
- Keywords bg|has-patch added
There already was a cap, upload_files, which I've used. Guess it was hanging around from the legacy upload code.
#4
@
19 years ago
There's a slight bug in that approach- logged in users can still view inline-uploading.php directly by passing in action=whatever on the query string.
#5
@
19 years ago
Forgive me, I'm new to this. inline-up.diff is incorrect. inline-uploading.diff should be correct.
Like so many other customizable features, this one will be used by such a tiny minority that it belongs in the realm of plugins.
Except perhaps a single checkbox for the administrator role: "Display the Upload interface on Write screens."