Closed icidasset closed 2 years ago
Checks the resource of the UCAN used with the append endpoint, and fixes the domain name used in the "delegated" UCAN resources.
Using a UCAN with an invalid resource, ie. a rsc that doesn't match { "app": "DOMAIN_OF_APP" }, should produce a 403 status.
rsc
{ "app": "DOMAIN_OF_APP" }
403
Checks the resource of the UCAN used with the append endpoint, and fixes the domain name used in the "delegated" UCAN resources.
Test plan (required)
Using a UCAN with an invalid resource, ie. a
rsc
that doesn't match{ "app": "DOMAIN_OF_APP" }
, should produce a403
status.