Ah I was trying “inbox.acl” not “inbox/.acl”. Thanks.
Can you help me again? I’ve got the ACL for /inbox/.acl:
@prefix : <#>. @prefix n0: <http://www.w3.org/ns/auth/acl#>. @prefix inbox: <./>. @prefix c: </profile/card#>. :ControlReadWrite n0:accessTo inbox:; n0:agent c:me, <mailto:firstname.lastname@example.org>; n0:origin <http://elfisk.dk>; n0:defaultForNew inbox:; n0:mode n0:Control, n0:Read, n0:Write; a n0:Authorization. :Read n0:accessTo inbox:; n0:defaultForNew inbox:; n0:mode n0:Read; a n0:Authorization. :ReadWrite n0:accessTo inbox:; n0:defaultForNew inbox:; n0:mode n0:Read, n0:Write; a n0:Authorization.
I can see the agent “c:me” (my WebID) has Control, Read and Write access.
Now I want to grant access to the origin http://elfisk.dk which is the Origin header I can see in Fiddler. As you can see above I’ve tried
n0:origin <http://elfisk.dk> - but without luck - the server returns “Not authorized”.
I have also tried
n0:trustedOrigin <http://elfisk.dk> without luck.
The server has accepted my change: if I reload the .acl page I can se my changes.
If I try the exact same request, through Fiddler, without the “Origin” header, it returns 200-OK with the inbox data.
I’m trying to go through https://www.w3.org/wiki/WebAccessControl to understand what is going on. But apparently missing something.
Do you know what I am supposed to do?
My first app - adding resources?
@JornWildt sorry for late response, I’ve been on away for a couple of days. I’m not quite into the whole access/resource sharing with apps yet, so I’ll refer to @timbl and @RubenVerborgh in hopes they might have time to answer your questions.
Yes, thanks, I’ve tried to understand both - it ends at https://github.com/solid/web-access-control-spec#referring-to-origins-ie-web-apps with “A specific ACL can be be made to allow a given app to access a given file or folder of files” … without further details about how its done plus some future ideas.
How do you go directly to the file in the databrowser ?
Sharing for file solidlinks.txt
Error reading ACL. status Can’t get headers to find ACL for <https://>: Failed to load <https://> Fetcher: fetch failed: TypeError: https:// is not a valid URL. status: 999: ( No ACL pointer https:// Can’t get headers to find ACL for <https://>: Failed to load <https://> Fetcher: fetch failed: TypeError: https:// is not a valid URL. status: 999)undefined
What I get when trying to change permissions as described in this post.
This is only a problem with solid.tilde.team, not solid.community for some reason
What’s you version of Solid ?
If it’s on 5.0.0 beta you should report on chat node-solid-server. There is already a report on .meta files