fix: centralize gateway repo authorization. Route Git and Campfire checks through the web authorization service with shared internal auth config and deployment docs 4 months ago
16 files changed
README.md +2 −0 apps/campfire-gateway/src/authorization-client.ts +39 −0 apps/campfire-gateway/src/config.ts +23 −1 apps/campfire-gateway/src/db.ts +25 −13 apps/campfire-gateway/src/server.ts +30 −0 apps/git-gateway/src/authorization-client.ts +39 −0 apps/git-gateway/src/config.ts +8 −0 apps/git-gateway/src/db.ts +8 −4 apps/git-gateway/src/server.ts +18 −2 apps/web/app/api/internal/repository-authorizations/route.ts +89 −0 apps/web/db/repository-authorization.ts +81 −0 deploy/.env.example +3 −0 deploy/README.md +5 −2 deploy/docker-compose.app.yml +5 −0 deploy/docker-compose.single.yml +5 −0 turbo.json +3 −0