mnutt / davros

Personal file storage server
Apache License 2.0
298 stars 35 forks source link

share access to only a subdirectory? #68

Open dckc opened 7 years ago

dckc commented 7 years ago

If there is a way to do this, I don't see it.

Is it technically feasible?

paulproteus commented 7 years ago

There isn't, at the moment. I hope that answers the question, even if not with the answer you might be hoping for!

paulproteus commented 7 years ago

Oh - to answer if technically feasible:

It's somewhat difficult because the Sandstorm drop-down (typically) only allows the list of sharing roles ("Can View", "Can Edit", etc.) to be specified statically in the Sandstorm app package definition so it can't be dependent on data within the grain.

In theory this is not set in stone this way. A different tool in the place of sandstorm-http-bridge could do RPC differently to the Sandstorm supervisor, as I understand it. In that sense, this is a limitation of sandstorm-http-bridge and not necessarily the entire platform.