AccessRuleProps
AccessRuleProps<
TUser,TOrg> =object& [TOrg] extends [never] ?unknown:object
Defined in: packages/core/src/access/types.ts:230
The caller context every access-rule callback receives: the user, plus the
organization when orgCollectionSlug is configured. No data — withIndex and
where run once per query, before any document is read (contrast
PermissionCallbackProps, which the sibling filter property uses).
Type Declaration
Section titled “Type Declaration”user:
TUser
Type Parameters
Section titled “Type Parameters”TUser = Record<string, unknown>
TOrg = Record<string, unknown>