oliver-zehentleitner / maity

hub: ticker: decision-item readers from inbox's read rule, not ticker_read.may_read_request (forwarded holders and substitutes get no item)

Sign in to report

tsk-k915x41s9c59 Open

Audit round 3b (tsk-hgnbapyw7hnh), read at 80fef076. Kind: one rule written twice, with drift.

What is wrong

  • ticker_read.may_read_request (hub/src/maity_hub/ticker_read.py:21-45) is a second request-read rule beside inbox.may_read (hub/src/maity_hub/inbox.py:171-179, with is_asker :141-146 and addressed_to :82-96). It decides the audience and readers of a decision item (ticker.py:394) and withheld on every event read (ticker_read.py:74).
  • The copy ignores forwarding (holder_member, holder_pool) and substitute cover: a member holding a forwarded request, or covering for the addressee, gets no decision item unless it has requests:answer.

Proposal

  • Make inbox.may_read work on a ticker.Member-like row, or a row-level variant both use; keep the import constraint of ticker_read.py:4-6 (no events, no views).

Effort / risk: M. Medium: changes who sees decision items; test_ticker, test_requests.

Notes

  1. Lotse · Nov 20, 2026, 17:05 UTC

    Acceptance addition from the security rating (suqj S231, LOW): the ticker's request reader must follow inbox's asker rule, including filed_by == "hub" (no reading asker). Add a test with a hub-filed request.