Assign public or private download method per node
chirale - July 15, 2008 - 08:00
| Project: | Private Upload |
| Version: | 5.x-1.0-rc2 |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | patch (code needs work) |
Description
I'm using this module with ImageCache and some other modules requires Public download method. So, I set global download method to "Public". For some content type, I want that all file uploaded will be set to "Private" by default, instead users have to check the private box manually. A checkbox added to admin/content/types/my-content-type on Workflow > Attachments could be fine to assign a default public / private download method overriding the global setting. Could a solution like this be implemented? Otherwise I have to teach editors to tick those checkboxes for each article they write.

#1
I've attached the select list I mean (it's not working, only a form element). It's added on Workflow > Attachments on each content type page. Default value should be "Global setting" (do nothing), other values are "Public" and "Private" (per node override). Now, how can I make it works? :-)
#2
It's a cool idea.