The availability MongoDB collection always stores restr: "OPEN" for every
record, regardless of the actual restriction status of the stream. This has been
the case since the first version of views/main.js.
The real restriction status is resolved at query time in _apply_restricted_bit()
(apps/wfcatalog_client.py), which cross-references the segment's SEED ID against
the Redis-cached station inventory from ws-station.
The
availabilityMongoDB collection always storesrestr: "OPEN"for everyrecord, regardless of the actual restriction status of the stream. This has been
the case since the first version of
views/main.js.The real restriction status is resolved at query time in
_apply_restricted_bit()(
apps/wfcatalog_client.py), which cross-references the segment's SEED ID againstthe Redis-cached station inventory from ws-station.