-
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
Atomicity of creating a resource and its ACL #91
Comments
I think we should consider the possibility of clients to suggest the URI of the ACL they want to assign to a resource when creating or updating the resource. It makes it possible to create the ACL before or after creating the resource - depending on their level of comfort and tolerance. Helps to address use cases requiring decentralised ACLs. In the case where The Let's be careful to not lose sight of the target resource with URI/API tricks. Slashes in path segments is different - native to URI (RFC). That leaves us with having either the client to be explicit that a resource is an ACL or server figuring it out. The options are not mutually exclusive:
Option 1 - New media type for ACL is probably nonsensical (given that it is already in RDF... subtyping is meh). Option 2 - specifies "payload's abstract semantic type". Option 3 - server probably should process the ACL shape any way. Option 4 - server expects only ACL resources at designated URIs. I think the following can work..
|
@csarven one possible issue with this proposal is whether a client suggests an ACL location or whether a client assigns an ACL location to a resource. And also whether a server implementation is free to ignore that. Here are some issues that emerge if a client is able to assign an arbitrary ACL to a resource.
I'm not against this feature, because it could be implemented in a way that these concerns are addressed. OTOH, I would be concerned if support for this was absolutely required, because it introduces some significant issues that a server implementation could easily fall into. |
With solid/specification#31 an ACL has to be created after the resource, and until it does, the inherited ACL is used. It may be problematic if more restrictive permissions is required when a resource is required in a permissive container.
The text was updated successfully, but these errors were encountered: