Skip to content

test: cover secret owner isolation across all operations - #26

Merged
MugdhoAI merged 1 commit into
mainfrom
test/complete-owner-isolation-coverage
Oct 24, 2026
Merged

MugdhoAI merged 1 commit into
mainfrom
test/complete-owner-isolation-coverage

Conversation

@MugdhoAI

Copy link
Copy Markdown
Owner

Summary

  • Extend the PostgreSQL-backed secret lifecycle test to verify that another user cannot list, retrieve, update, or delete an owner's secret.
  • Verify denied update/delete attempts leave the owner's secret unchanged.

Why

Owner-scoped authorization is a core security property of this API. The implementation already filters each operation by owner_id, but the integration test previously verified cross-user access only for retrieval.

Verification

  • GitHub Actions will run the PostgreSQL-backed tests, Ruff, dependency audit, Docker and Compose validation across Python 3.12–3.14, plus CodeQL.

@MugdhoAI
MugdhoAI merged commit 1d57ebe into main Oct 24, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant