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
{{ message }}
Repository navigation
A Solid server SHOULD sanity check ACL auxiliary resources #571
A Solid server SHOULD sanity check ACL auxiliary resources upon creation or update to restrict invalid changes, such as by performing shape validation against authorization statements therein.
Related to #87, but will probably have different implementation based on interface of #554.
This means we should also validate after doing a PATCH which makes this a bit more complicated: the result of the patch would also have to pass through the auxiliary resource validation.
the result of the patch would also have to pass through the auxiliary resource validation.
It's actually quite alright: a default implementation of PATCH is to do an internal GET, apply patch, PUT.
So we could imagine a VerifyingStore that implements PATCH that way, and just checks before PUT.
Open/future challenges could be to:
streaming validation
predict whether a PATCH will result in a valid document, where I see three cases:
will a PATCHP transform any valid document into a valid document?
will a PATCHP not introduce new invalid statements into any (valid or invalid) document?
will a PATCHP preserve the validity of specific document D?
Activity
jvherweg commentedon Feb 1, 2021
This means we should also validate after doing a PATCH which makes this a bit more complicated: the result of the patch would also have to pass through the auxiliary resource validation.
RubenVerborgh commentedon Feb 1, 2021
It's actually quite alright: a default implementation of
PATCHis to do an internalGET, apply patch,PUT.So we could imagine a
VerifyingStorethat implementsPATCHthat way, and just checks beforePUT.Open/future challenges could be to:
PATCHwill result in a valid document, where I see three cases:PATCHP transform any valid document into a valid document?PATCHP not introduce new invalid statements into any (valid or invalid) document?PATCHP preserve the validity of specific document D?But these are really just optimizations.
jvherweg commentedon Mar 22, 2022
I can no longer find this in the spec so this can be closed