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[]