Saxonberg Server API
    Preparing search index...

    Type Alias PropAccessCheck<T>

    PropAccessCheck: (
        prop: Property<T>,
        op: PropOperation,
        special: unknown,
    ) => boolean

    Access control function for properties.

    Type Parameters

    Type Declaration

      • (prop: Property<T>, op: PropOperation, special: unknown): boolean
      • Parameters

        • prop: Property<T>

          Property being accessed

        • op: PropOperation

          Operation being performed

        • special: unknown

          Operation-specific extra context. Semantics depend on op:

          • Set: the incoming value (T)
          • Configure: the Partial<PropOptions> being applied
          • Mask / Unmask: the owning Stuff
          • Get / Remove: null Each operation defines what it passes; the type is intentionally open.

        Returns boolean

        true if access is allowed, false otherwise