garden/tree — Issue #19: get rid of /root/
Author: jankeromnes
Created: 2011-12-14 16:13:16+00:00
State: open

Accessing a file should be done with https://thefiletree.com/user/file instead of https://thefiletree.com/root/user/file. In order to achieve this, we need a way to specify how a file is accessed (eg raw, edition, preview, etc). This can be seen as a way to determine which plug to use.

I suggest two ways to specify a plug:

- Look into query string: https://thefiletree.com/user/file?plug=/util/pencil
- If not there, look into metadata (see #18)
- If not in file's metadata, look into parent's metadata (the topmost folder will specify the default values)