@stackone/olap 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -143,6 +143,19 @@ object, not a string. A JSON-encoded string does not parse under `JSONEachRow`
143
143
  rejected, the materialized view discards it, and nothing anywhere reports an error. Its shape varies
144
144
  per producer, so treat it as display detail rather than a contract; it is not filterable.
145
145
 
146
+ ## Filtering on whole credentials
147
+
148
+ `getLogs`, `getActionLogs`, `getUnifiedLogs` and the aggregation, dimensions and last-event reads
149
+ over the logs feed take `authPairs`, a list of `{ authType, authId }`. A row is admitted only when
150
+ its type and id match one pair together. Filtering `authType` and `authId` as two lists admits any
151
+ row whose type is in one and id in the other, and ids are only unique within a type (a session 300
152
+ and a key 300 are different credentials), so a list built from one caller's credentials can admit
153
+ someone else's.
154
+
155
+ Absent applies no filter. An empty list admits no row, unlike every other array filter, where empty
156
+ means unfiltered: a caller scoped to their own credentials who has none should see nothing. A row
157
+ with no credential is never admitted.
158
+
146
159
  ## Advanced log truncation
147
160
 
148
161
  Advanced logs hold the full request and response of a call. When one is too large to store, what the