Repository navigation
v2.9287 — Bids of the day: whoever can open a bid may read who kept it (punch list #469, step 5; owes a db push) - #10780
Open
realrobertdouglas wants to merge 1 commit into
Open
realrobertdouglas wants to merge 1 commit into
realrobertdouglas wants to merge 1 commit into
Conversation
…t (punch list #469, step 5; owes a db push) One more read rule on bid_day_entries: a kept row is read by whoever can read its bid, whole. The person's answers of 2026-12-03: everyone who opens the page, and the times of day too. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Owes prod one
supabase db pushafter the merge, with the push slot. Opened unarmed: it is armed only once the managing session has been told.Punch list #469, step 5, the read. A migration alone. No screen reads by bid yet, so no new screen. It owes a
supabase db push.Why
The card's fifth step is a bid's own page: who had this bid in front, and on which days. The rows are the kept lists of the day's bids. Until now a kept list was read by the person, a dev, payroll access and the office. A bid opens for every estimator, so most people who open one could not read the rows.
The call was put to the person on 2026-12-03 with the pick to leave the rule. They pressed "Everyone who opens the page". Asked whether the times of day a bid was open should stay with the office, they pressed "No, show everyone".
What ships
20261203080345_bid_day_read_by_bid.sql, documented indocs/migrations/20261203080345_bid_day_read_by_bid.md:bid_day_entries: a kept row is read by whoever can read its bid. It asksbidsunder the caller's own policies, so it follows the bid's read rule as it stands.What changes on screen once it is pushed
Nothing new is drawn. One thing widens: a surface that draws another person's day as bids, People → Hours and a person's My Time section, now draws those bids for an owner without pay access or an estimator who opens it, where it drew the office job before.
Tests
supabase/tests/bid_day/20_scenario.sqlhas five new cases, andscripts/pgtest-bid-day.shre-applies the new file. Docker was down on this Mac, so the bed was not run here: the SQL beds workflow runs it on the PR.Words
docs/ACCESS_CONTROL.md, under The bids of the day.Next
The History window's On the clock chip, which reads these rows by bid. It is client only and can merge before or after the push: before it, a reader outside the office sees only their own days.
🤖 Generated with Claude Code