You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now I do not believe there's a way to get this information using LDFlex directly, as it is part of the response header which is not exposed to the users.
We'd have to tap into the fetcher. So basically, when the .acl() is called, it should fetch the document, inspect the headers, and then fetch the ACL document and take it from there.
Activity
angelo-v commentedon Apr 17, 2020
How could the interface for this look like?
Other proposals?
RubenVerborgh commentedon Apr 17, 2020
@angelo-v I like that actually!
angelo-v commentedon Apr 17, 2020
Is this the correct repo to implement it? Or are upstream packages (ldflex, communica, ...) involved? Where do we have access to the headers?
RubenVerborgh commentedon Apr 17, 2020
It's Solid-specific, so this is the one!
We'd have to tap into the fetcher. So basically, when the
.acl()is called, it should fetch the document, inspect the headers, and then fetch the ACL document and take it from there.