Kind: Function
Source: atloria-monorepo/apps/api/src/reader-access/visibility.util.ts
Validate an owner-submitted rule (the admin PUT). Returns a list of problems; empty = valid. Depth/size-capped so a hostile payload can't be stored.
Signature
tsfunction validateVisibilityRule(rule: unknown, depth): string[]
Parameters
| Name | Type |
|---|---|
rule | unknown |
depth | any |
Returns: string[]
Was this page helpful?