test: deep public access and production scope checks#267
Closed
BigSimmo wants to merge 3 commits into
Closed
Conversation
Create missing retrieval-support indexes (trgm, composite btree, partial miss log) that were absent or only present under legacy names on live. Update search_schema_health() to accept verified functional equivalents during rollout. Set search_path for pg_trgm gin_trgm_ops in extensions. Verified on linked project: search_schema_health() ok=true, missing=[].
|
Updates to Preview Branch (cursor/deep-access-testing-d970) ↗︎
Tasks are run on every commit but only new migration files are pushed.
View logs for this Workflow Run ↗︎. |
…board Delete post-extraction dead code left in the monolith and trim unused imports. Also fix minor lint issues in favourites-hub, visual-evidence, and services-navigator.
3 tasks
Owner
Author
|
Superseded by #269 (consolidated platform fixes branch). |
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.
Adds
tests/public-access-deep.test.tsto codify additional access-control checks discovered during the content-access review:/api/jobs, ingestion, bulk delete, summarize, eval capture) reject unauthenticated callers with 401/api/health?deep=1never serializes secret env valuesrequireOwnerScopeis invoked without an owner (documents a known gap between public API routes and RAG owner scoping)Verification:
npm run test -- tests/public-access-deep.test.tsand fullnpm run verify:cheap(1065 tests) passed.