Have Tree User ID available as a paramater on applicable functions
Closed this issue · 0 comments
elderamevans commented
Some of the requests require you to have the Tree User ID in order to work. Right now,they're hard-coded to the logged in user's User ID (UID).
The reason for doing this is for server environments.
Rather than doing:
fs[userfoo].get(fs[userfoo].bar(baz))
It would allow servers to do:
fs[userfoo].get(fs[server].bar(baz, uid=blah))
It would still allow desktop apps (or otherwise in a single-user environment) to:
fs.get(fs.bar(baz))