@bgins asked about sharing of public files of other users in an app.
We’ll skip private sharing / group access right now as that is a future feature, and will need an invite and request access feature (which themselves can be spam / harassment vectors).
One of the design goals of apps and user data in our system is to encourage re-use and sharing of data. Both between apps of a user as well as between users.
This is like a desktop or mobile OS — user files have some well defined folders like Music or Photos or Documents. Apps can look in those well known locations for common file types and/or create Documents/Cool App folders.
There will also be a future feature supported by WNFS and metadata where queries like “show me a list of all files of type Music or type Markdown” will be enabled.
All that is private to the user but accessible across apps they have given permission to. This means that both Cool Photo Editor and Cool Gallery Publisher can access and manage photos.
Additionally, every user has a Public file tree which anyone can access.
The issue becomes discoverability and share-ability.
If a user is logged into Cool App and wants to see other users’ Cool App files that are public, how is this accomplished?
Knowing the username, looking at
add username argument to file paths?
Stored by the App
With permission of the user that they want to share in public / be discoverable, the app could write and aggregate a JSON file of all shared files.
Boris made this up