feat: pass requestedModes metadata on 401

* feat: pass requestedModes metadata on 401

* fix: bundle modes per target bnode

* fix: use custom instance check for HttpError
This commit is contained in:
Wouter Termont
2023-10-27 09:23:36 +02:00
committed by GitHub
parent 04711b112b
commit 58daeb684f
3 changed files with 49 additions and 4 deletions

View File

@@ -287,6 +287,10 @@ export const SOLID_META = createVocabulary('urn:npm:solid:community-server:meta:
'value',
// This is used to indicate whether metadata should be preserved or not during a PUT operation
'preserve',
// These predicates are used to describe the requested access in case of an unauthorized request
'requestedAccess',
'accessTarget',
'accessMode',
);
export const VANN = createVocabulary('http://purl.org/vocab/vann/',