Repository navigation
feat: secure task access and patch dependency advisories - #4
Merged
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Behavior
Users sign in with a provisioned Supabase email/password account before seeing tasks. The API verifies Bearer tokens with Supabase Auth getUser and scopes all task/history access to that verified identity. Foreign task IDs return 404; ownership cannot be supplied or reassigned through request bodies.
The ownership migration preserves old rows with NULL owners and quarantines them. Owner-leading indexes support scoped queries. RLS denies direct Data API access to tasks, activities and migration history; Prisma remains the trusted server data boundary.
Runtime and deployment
Dependency hardening
Validation
Hosted activation blocker
Creating a dedicated taskDesk Supabase project was rejected because the account already has two active free projects. The cost lookup quoted $0/month, but does not remove the quota. No other project was paused, deleted or reused, and no paid resource was created. A capacity change or an explicit selection of a project that may be paused is required before hosted activation.
Hosted login and database connectivity remain unverified until this is resolved and environment variables are configured. See docs/DEPLOYMENT.md, docs/SECURITY.md and docs/DEPENDENCIES.md for activation, token revocation limits and legacy-data handling. PR #3 and this PR are merged into main. The production deployment for merge commit d0eb00c is READY; HTTP checks confirmed /health 200 and the unconfigured task endpoint 503. Hosted activation remains blocked by Supabase capacity.