Open JordanShurmer opened 5 years ago
By default, LDflex will indeed only query the one document corresponding to the URL of the entity. For example, data[https://ruben.verborgh.org/profile/#me]
will only read data from https://ruben.verborgh.org/profile/
.
This is by design, and this is an important security/trust/provenance feature. With Linked Data, anyone can say anything about anything, so we cannot just pull in data from arbitrary documents. I actually think that the Extended Profile is a security problem and have filed an issue https://github.com/solid/solid-spec/issues/189.
Which documents are allowed to be loaded, could/should be specific in a data shape on the pod (this is future work). But indeed, it does make sense in several cases to find data in multiple documents.
This is more of a proposal than an actual issue.
The Solid Data Discovery documentation describes the following process for discovering where a user's data you care about exists:
However (assuming I'm groking things correctly), the user object that query-ldflex provides is only the data directly from the Profile Document, not including the "Extended" Profile data.
So, should
query-ldflex
populate the user object from the Extended Profile? In other words: Shoulduser
include step 3 in the above process?