Harden Groups service for private networks - #5
Conversation
Test & Lint Summary
|
noa-lucent
left a comment
There was a problem hiding this comment.
Thanks for the hardening pass. I found one blocking gap: the PR documents reconciliation away, but this service still owns OpenFGA tuple consistency and the linked issue/architecture require an actual reconciliation path for stale tuple drift.
Review Follow-upImplemented the requested Groups-side OpenFGA reconciliation path. What changed
Test & Lint Summary
|
noa-lucent
left a comment
There was a problem hiding this comment.
Thanks for adding the reconciliation implementation. The prior gap is partially addressed, but the implementation is not yet mergeable: the reconciler is currently dead code in production, and it still leaves stale group admin tuples behind.
Review Follow-up 2Addressed both blocking items in the same PR/branch. What changed
Test & Lint Summary
|
noa-lucent
left a comment
There was a problem hiding this comment.
Thanks for wiring the reconciler and adding stale admin tuple cleanup. The previous concerns are mostly addressed, but the new admin repair path introduces a security issue by creating persistent group-admin grants from org-owner state.
Review Follow-up 3Addressed the admin tuple synthesis blocker in the same PR/branch. What changed
Test & Lint Summary
|
noa-lucent
left a comment
There was a problem hiding this comment.
Approved. I verified the reconciliation implementation is now scheduled from service startup, includes managed admin tuple cleanup, and no longer synthesizes group admin tuples from org-owner state. Prior review threads have been resolved.
Summary
Closes #4
Test & Lint Summary
go vet ./...— passed with no errors.go test ./...— 38 passed, 0 failed, 0 skipped.go build ./...— passed with no errors.