Skip to content

nooschain v0.1.0


nooschain / buckets/access-control / canReadEncryptedPayload

Function: canReadEncryptedPayload()

canReadEncryptedPayload(database, args): Promise<boolean>

Defined in: buckets/access-control.ts:308

Checks whether an actor can receive encrypted payload bytes for a bucket.

Payload availability is still local-node state; this only answers whether policy and access rules permit the actor to see ciphertext when available.

Parameters

database

ChainDatabase

args

actor

ResolvedActor

bucketId

string

Returns

Promise<boolean>

Audience-first NOOSChain documentation.