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)
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 besideinbox.may_read(hub/src/maity_hub/inbox.py:171-179, withis_asker:141-146 andaddressed_to:82-96). It decides the audience andreadersof a decision item (ticker.py:394) andwithheldon 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 hasrequests:answer.
Proposal
- Make
inbox.may_readwork on aticker.Member-like row, or a row-level variant both use; keep the import constraint ofticker_read.py:4-6(noevents, noviews).
Effort / risk: M. Medium: changes who sees decision items; test_ticker, test_requests.
Notes
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.