Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Dec 07 17:10

    bourgeoa on editChat

    edit chat (compare)

  • Dec 07 14:59
    bourgeoa closed #318
  • Dec 07 14:59

    bourgeoa on main

    update marked dependency Merge pull request #318 from so… (compare)

  • Dec 07 14:47
    bourgeoa opened #318
  • Dec 07 14:46

    bourgeoa on markdownDiv

    update marked dependency (compare)

  • Dec 03 13:40
    bourgeoa commented #11
  • Dec 03 11:54

    github-actions[bot] on gh-pages

    deploy: c4ad302f361cc4a1de24941… (compare)

  • Dec 03 11:49

    timbl on post-talk

    (compare)

  • Dec 03 11:49
    timbl closed #458
  • Dec 03 11:49

    timbl on main

    tweaks to broken style style tweaks fix test and 6 more (compare)

  • Dec 03 11:49
    timbl closed #459
  • Dec 03 00:49
    timbl synchronize #459
  • Dec 03 00:49

    timbl on post-talk

    Apply suggestions from code rev… (compare)

  • Dec 02 22:03
    bourgeoa synchronize #459
  • Dec 02 22:03

    bourgeoa on post-talk

    Typos (compare)

  • Dec 02 21:00
    bourgeoa commented #11
  • Dec 02 20:58
    bourgeoa commented #11
  • Dec 02 20:55
    bourgeoa commented #11
  • Dec 02 20:20
    bourgeoa commented #11
  • Dec 02 13:55
    timbl commented #11
Jeff Zucker
@jeff-zucker
but you're using them in a browser , not in nodejs, right?
Daniel B.
@DanielBakas
Oh! You're right. The photo I sent is from PodBrowser by inrupt. I sent those just to show what folders my inrupt pod had and to ask wether I could delete any.
But I am also developing my first web app using Node.js and the solid libraries from the tutorial
There's one method called "getSolidDataset" that retrieves a dataset inside a pod and it receives a URL
In the tutorial they use ".../profile/card"
And that's where I got confused on what folders (like profile) I should be modifying and which ones I should leave untouched :D
(That's how it all connects haha)
Captura de Pantalla 2021-07-10 a la(s) 6.45.45 p.m..png
Jeff Zucker
@jeff-zucker
Well, in any case here's the situation with servers : the Solid specifications are not finalized. For most parts of it that are finalized , either server should follow the specs so can be accessed with the same clients. But for parts that are up in the air, they could differ. For example ESS uses a very different access control system than NSS. As far as what files are on the server - that is not and will never be covered in a specification because Solid doesn't care if you store things as files or a db or anything else. That means that the specific files on the server are always implementation specific and will differ from one server to the other.
Daniel B.
@DanielBakas
I see
Okok cool
Does it matter where each user stores their data in their pods then? (regardless of the server the pod is in)?
Jeff Zucker
@jeff-zucker
But for most purposes solid-client should behave the same on either servere
Daniel B.
@DanielBakas
Okok cool. When I say where I just wanna say I mean "in what folders inside their pods"*
Jeff Zucker
@jeff-zucker
And the same with other clients
Well, you can store anything anywhere you like. But some apps will want to store things in their own places. That is handled in your settings type-registry that says type of data X (e.g. a bookmark) is stored in folder Y. Apps should read that registry to find where to look for stuff. If it's your own stuff that you are serving with your own apps, put it anywhere you like.
Daniel B.
@DanielBakas
Wuuuuu thanks so much. So, if I understand correctly, if my application is called "Semantyk" I could create a folder inside each user's pod by that name (semantyk) where all relevant information that my application consumes is located?
Jeff Zucker
@jeff-zucker
Yes, for most purposes, that would be polite.
At least for stuff that is only accessed by your app
Daniel B.
@DanielBakas
Awesome!
One more and I'll get on with the work. Should this "semantyk" folder be inside "public", "private" or the root directory?
Jeff Zucker
@jeff-zucker
If your app access common resources like inbox or profile, those would be outside your app-specific folder
Daniel B.
@DanielBakas
Right!
Jeff Zucker
@jeff-zucker
Well you can't count on there being directories with those names, so just make sure that wherever you put it, you make a pointer to it in the type index. Your app will need write permissions to the folder you want to store stuff in, so public may be a better option
Daniel B.
@DanielBakas
Awesome. Best put it in the root directory
Jeff Zucker
@jeff-zucker
Personally , I'd rather not have my root directory crowded
Daniel B.
@DanielBakas
You have a point
But that would mean that all information from every user that has used Semantyk will have all their info made public since the "semantyk" folder would be inside public, correct?
Inside their public folder in their pods I mean
Jeff Zucker
@jeff-zucker
No, you can make separate access permissions for folders within public that are more restrictive
for example a folder that only the user can read and only your app can write to
Daniel B.
@DanielBakas
Are those access permissions determined by the application developer or the user?
Jeff Zucker
@jeff-zucker
The user can always change the access permissions. Your app will need to ask the user what permissions they want to grant. That info is stored in the user's profile under trustedApps.
Daniel B.
@DanielBakas
This is so cool
Jeff Zucker
@jeff-zucker
Yes, asking is nice :-)
Daniel B.
@DanielBakas
Thank you so much for answering. This community is amazing
Jeff Zucker
@jeff-zucker
Glad you're a part of it :-)
Daniel B.
@DanielBakas
🥺😭😩🙏🏽

So if I understand correctly:

  1. My application will request the creation of a new "semantyk" folder inside a given user's pod
  2. The user will have the ability to accept or decline this request.
  3. If the user accepts the request, a new folder named "semantyk" will be created inside the "public" folder of the user's pod
  4. My application will be able to read/write to this folder to work and provide the user with the
    application's experience.

Correct?

Jeff Zucker
@jeff-zucker
The user will need to agree not only to the creation of the folder, but also to the rights they wish to grant your app. So they'll need to grant your app read, or append, or read+append, or write
Daniel B.
@DanielBakas
This needs to be shared with everybody. This is the way the world should treat data
Jeff Zucker
@jeff-zucker
Yep
Daniel B.
@DanielBakas
You guys are inspiring and generous. Thank you so much Jeff
Jeff Zucker
@jeff-zucker
Glad to help.
Daniel B.
@DanielBakas
🌱
vinnl
@vinnl:matrix.org
[m]
I don't think that permission model is described in the spec, and only NSS (inrupt.net and solidcommunity.net) implements it as far as I'm aware. Generally, my current strategy is indeed to just create a folder at the root of the user's Pod. Should cause least problems with e.g. other folders (like /public/ or /private/) not existing. That said, I tend to work on apps that only store data for the user themselves, i.e. that they're not sharing with others.
Daniel B.
@DanielBakas
This is a great answer too. Thanks @vinnl:matrix.org!
What do you guys think? Should our applications' folders be located at the root directory of our users' pods, or inside their "public", "private", etc. folder?
Alain Bourgeois
@bourgeoa
I there is absolutely no rule.
Jeff Zucker
@jeff-zucker
It should be located somewhere an app can find it by following its nose from the user's profile.