Kind: Function
Source: atloria-monorepo/apps/api/src/reader-access/visibility.util.ts
Compose a document's own rule with its category ancestor chain into ONE effective rule (all must pass). null when nothing in the chain has a rule.
Signature
tsfunction composeRules(rules: Array<unknown | null | undefined>): VisibilityRule | null
Parameters
| Name | Type |
|---|---|
rules | `Array<unknown |
Returns: VisibilityRule | null
Was this page helpful?