Skip to content

Authorize project membership from PostgreSQL - #499

Merged
anandtopu merged 4 commits into
mainfrom
codex/postgres-project-membership-authority
Nov 27, 2026
Merged

anandtopu merged 4 commits into
mainfrom
codex/postgres-project-membership-authority

Conversation

@anandtopu

Copy link
Copy Markdown
Contributor

Summary

  • Read current project memberships from PostgreSQL for report, analytics, and other membership-scoped requests. Keep Redis membership key deletion for legacy cleanup.
  • Update the security architecture and compliance docs to describe PostgreSQL authority and the requirement to upgrade every read-serving replica during a rolling deployment.
  • Add a PostgreSQL report regression that checks member access before removal, denial on a new request after removal commits, and continued administrator access.

Verification

  • 149 focused backend tests passed.
  • 17 PostgreSQL integration tests passed, including the new report regression. The integration tests ran against a migrated disposable PostgreSQL database with local Valkey.
  • Ruff passed on the changed Python files.
  • 5 Daybreak static checks passed.

The local checks ran against the exact saved Daybreak revision 2 on base 955292f065607646b431f08d6c2441c485a29b69.

Daybreak finding acf_fc1727b012ab0f5cd1a4e0d6480f3642 and saved revision arp_4c132ebfe9b508cd2fc47cea61b13acc.

Signed-off-by: Anand Topu <56218058+anandtopu@users.noreply.github.com>
Signed-off-by: Anand Topu <56218058+anandtopu@users.noreply.github.com>
Signed-off-by: Anand Topu <56218058+anandtopu@users.noreply.github.com>
Signed-off-by: Anand Topu <56218058+anandtopu@users.noreply.github.com>
@anandtopu
anandtopu marked this pull request as ready for review November 27, 2026 21:43
@anandtopu
anandtopu merged commit 3b7dd21 into main Nov 27, 2026
43 checks passed
@anandtopu
anandtopu deleted the codex/postgres-project-membership-authority branch November 27, 2026 21:44
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