From 1be22bfb00e5440371fff65d96a6fdc8d59ed2d4 Mon Sep 17 00:00:00 2001 From: Liran Cohen Date: Thu, 29 Aug 2024 16:57:15 -0400 Subject: [PATCH] cached permissions set --- packages/api/src/record.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/api/src/record.ts b/packages/api/src/record.ts index f0b10ceb1..f1cbb4ca0 100644 --- a/packages/api/src/record.ts +++ b/packages/api/src/record.ts @@ -371,6 +371,7 @@ export class Record implements RecordModel { // connected DID's keys and DWN requests target the connected DID's DWN. this._connectedDid = options.connectedDid; this._delegateDid = options.delegateDid; + this._cachedPermissions = options.cachedPermissions; // If the record was queried or read from a remote DWN, the `remoteOrigin` DID will be // defined. This value is used to send subsequent read requests to the same remote DWN in the