-
Notifications
You must be signed in to change notification settings - Fork 22
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
Dependent resources / explicit inheritance across containers #92
Comments
If I read it correctly this seems to follow from |
Before going further with the need, can we be clear on the use case or scenario?
I think the expectation in the Solid ecosystem is that content creator decides where to store the resource and the applicable authorization policy (whether they actively set that or not). With the commenter example, they'd normally be expected to store their comment in their own storage. In that case, article's ACLs and the comments in response to the article and other comments' ACL are potentially on different systems. Currently the resource and its ACL are expected to be under the same origin server or URI space. Would it make sense to reframe the use case or raise a different one? I would also add that regarding the inheritance as you describe, there may be some discrepancy between server's HTTP header referring to an ACL resource it manages meanwhile allowing clients to effectively bypass the authorization policy that would normally be assigned to it in the associated ACL resource. Related issue: inherited ACL gets deleted. |
Both use cases make sense. It makes sense to allow posting content to a container on the same server just at it make sense to post it on one's own. In the latter case though one needs a way after posting the comment to one's own server to notify the original content of the comment. This process requires again a post (probably to a container linked to by the original post). And this notification post may well need restrictions on access to avoid spam. Come to think of it, those two ways of doing things could make for separate and interlinked use cases. cc @justinwb |
Your point @dmitrizagidulin goes in the same direction as the high confidentiality use case I put forward solid/authorization-panel#96 |
That equally applies to posting a comment about an article on the same server. To be clear, in order for an application to discover an article's comment, one of these common patterns needs to happen:
See also https://csarven.ca/linked-research-decentralised-web#linking-the-decentralised-information-space for an overview on key components and how they can be connected. |
@dmitrizagidulin wrote
There are some proposals now in this direction.
|
The discussion about Auxiliary resources (and how they are tied to the life cycle of their primary resource) reminds me -- I'd love to see an addition to the Web Access Control spec that denotes "The ACL policies for this resource are fully dependent on the ACL policies of that parent resource."
Classic example: Blog posts and comments. The ACL of a blog post determines who can view the post. The post has a list of comments on it. And the access policy for the comments is determined solely by the access policy for the post. (Unless overridden/customized, dependent on the use case.)
So, something like:
/posts/blog-postA.ttl
-- has a comment on it, represented by resource/comments/commentB.ttl
/posts/blog-postA.ttl.acl
-- contains the usual ACL statements controlling access to the post/comments/commentB.ttl
-- contains the comment, the author, etc./comments/commentB.ttl.acl
-- just has a statement like<wac:dependentOn> </posts/blog-PostA.ttl>
(which denotes that it explicitly inherits the permissions of the blog post, but outside the usual container hierarchy).The text was updated successfully, but these errors were encountered: