Skip to content

feat(tenant): add mode-aware ownership scopes - #31

Merged
KilianBoute merged 1 commit into
mainfrom
feat/tenancy-mode
Aug 31, 2026
Merged

feat(tenant): add mode-aware ownership scopes#31
KilianBoute merged 1 commit into
mainfrom
feat/tenancy-mode

Conversation

@KilianBoute

Copy link
Copy Markdown
Member

Summary

  • add strict legacy, compatibility, and canonical tenancy modes
  • expose mode-aware organisation and organisation/project scope builders
  • retain existing helpers as compatibility wrappers
  • keep project predicates distributed into ownership arms when safe for index use

Validation

  • GOWORK=off go test ./...
  • GOWORK=off go vet ./...
  • git diff --check

@codecov

codecov Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 75.51020% with 12 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
pkg/database/tenant.go 75.51% 8 Missing and 4 partials ⚠️

📢 Thoughts on this report? Let us know!

@KilianBoute
KilianBoute merged commit 425ff86 into main Aug 31, 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