@objectstack/service-realtime@16.0.0
Patch Changes
-
06cb319: fix(identity): close the generic-write apiMethods hole on sys_presence and sys_metadata (#3220)
Follow-through on #1591/#3213 (better-auth apiMethods reconciliation) for two
non-better-auth managed objects that shipped the same contradiction: their
enable.apiMethodsadvertised genericcreate/update/deletewhile their
managedBybucket forbids user-context writes, leaving the generic/data
route open to a write the bucket does not permit.sys_presence(managedBy: 'append-only') advertisedcreate/update/delete
(update/delete on an append-only object at that) but is written only over the
realtime websocket/in-memory path, never through ObjectQL. Narrowed to
['get', 'list'].sys_metadata(managedBy: 'system') advertised full CRUD but customization
overlays are authored only through the metadata-protocol RPC (engine writes
carry a transaction context, not a user session); neither the framework nor
the Console (objectui) POSTs/data/sys_metadata. Narrowed to['get', 'list'].
Reads stay open. The metadata-protocol / realtime write paths are engine-level
and bypass the HTTP exposure gate, so they are unaffected — verified by the
metadata-authoring dogfood and the objectql overlay tests.A blast-radius audit confirmed the broader
system/append-onlybuckets are NOT
safe to guard wholesale: severalsystemobjects (sys_user_position,
sys_user_permission_set,sys_position_permission_set,sys_user_preference,
sys_import_job) are legitimately user-writable by design (delegated
administration, user preferences, imports). Generalizing the engine write guard
to those buckets is intentionally NOT done here — see #3220 for the bucket-taxonomy
root cause. -
Updated dependencies [f972574]
-
Updated dependencies [6289ec3]
-
Updated dependencies [22013aa]
-
Updated dependencies [3ad3dd5]
-
Updated dependencies [8efa395]
-
Updated dependencies [3a18b60]
-
Updated dependencies [a8aa34c]
-
Updated dependencies [e057f42]
-
Updated dependencies [a3823b2]
-
Updated dependencies [bc65105]
-
Updated dependencies [43a3efb]
-
Updated dependencies [524696a]
-
Updated dependencies [bfa3c3f]
-
Updated dependencies [5e3301d]
-
Updated dependencies [dd9f223]
-
Updated dependencies [46e876c]
-
Updated dependencies [5f05de2]
-
Updated dependencies [021ba4c]
-
Updated dependencies [158aa14]
-
Updated dependencies [62a2117]
-
Updated dependencies [d2723e2]
-
Updated dependencies [fefcd54]
-
Updated dependencies [beaf2de]
-
Updated dependencies [369eb6e]
-
Updated dependencies [06ff734]
-
Updated dependencies [b659111]
-
Updated dependencies [5754a23]
-
Updated dependencies [6c270a6]
-
Updated dependencies [290e2f0]
-
Updated dependencies [668dd17]
-
Updated dependencies [8abf133]
-
Updated dependencies [e0859b1]
-
Updated dependencies [04ecd4e]
-
Updated dependencies [4d5a892]
-
Updated dependencies [16cebeb]
-
Updated dependencies [86d30af]
-
Updated dependencies [8923843]
-
Updated dependencies [a2795f6]
-
Updated dependencies [f16b492]
-
Updated dependencies [4b6fde8]
-
Updated dependencies [2018df9]
-
Updated dependencies [fc5a3a2]
-
Updated dependencies [8ff9210]
- @objectstack/spec@16.0.0
- @objectstack/platform-objects@16.0.0
- @objectstack/core@16.0.0