Skip to content

nooschain v0.1.0


nooschain / buckets/permissions / validateBucketPermissionList

Function: validateBucketPermissionList()

validateBucketPermissionList(permissions): BucketPermission[]

Defined in: buckets/permissions.ts:45

Validates and canonicalizes a bucket permission list.

Unknown permissions fail deterministically with INVALID_BUCKET_PERMISSION. Duplicate values are collapsed, and the returned list is sorted so consensus transaction execution stores a stable representation regardless of input order.

Parameters

permissions

readonly string[]

Returns

BucketPermission[]

Audience-first NOOSChain documentation.