It should be possible to add source files to media pieces.
With every media piece we display two links:
- Add source file...
- Download source file (displayed only if source file is attached to the media piece)
"Add source file..." link should be visible only for the user who created the media piece. Make sure that you don't display empty portlet for other users.
https://lemill.org/trac/attachment/ticket/477/add_source_file_portlet.png
In the "Add source file" page it is possible to upload any file as a source file. After uploading the file user is redirected to media piece page.
https://lemill.org/trac/attachment/ticket/477/add_source_file.png
Text used in the prototype: "Source files are files that can be used to edit this media piece (for example image file with multiple layers or sound project with multiple tracks)."
In the "Download source file" page we display title, file type (extension) and size. Author, reviewer and manager have a possiblity to delete source file from that page.