Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rewrite curl interactions with the solid-client library #7

Open
bblfish opened this issue Aug 9, 2017 · 1 comment
Open

rewrite curl interactions with the solid-client library #7

bblfish opened this issue Aug 9, 2017 · 1 comment
Assignees

Comments

@bblfish
Copy link
Member

bblfish commented Aug 9, 2017

The rww-play curl interactions wiki page explains SoLiD access control using WebID-TLS authentication.

We should create the same or improved user story using HTTP-Signature and the Solid-Client, and then illustrate each case with some runnable code, that allows one to explore every aspect of working with LDP.

@bblfish
Copy link
Member Author

bblfish commented Aug 10, 2017

Looking at the the current version of rww-play curl interactions, they seem to go a bit too quickly to something difficult to understand et. PATCH. Better would be to have a story that starts with the simplest. So we can accept that we started with writing one key to the file system by hand (we want to later get rid of even that). Here is a sequence that would go from simple to more complex:

  1. GET a file that is protected eg. /2013/
  2. POST a key there
    ( this would make more sense if there was a password based auth method by default - so I'll look into that)
  3. use the newly generated key to change the acl ownership rule of the directory using PUT (the acl can nicely be built using banana-rdf's diesel library
  4. create a foaf:Group and make it visible only to members of the group
    (the foaf group can be a new file, and so add a link to the card using PATCH )
  5. add new people to the foaf:Group as they come along with PATCHes. Eg. Add timbl.
  6. find some reason that makes sense to use DELETE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants