Skip to content

feat: add DISABLE_PUBLISHER_API env var for production#37

Merged
felippemsc merged 1 commit intomainfrom
feat/disable-publisher-creation
Feb 6, 2026
Merged

feat: add DISABLE_PUBLISHER_API env var for production#37
felippemsc merged 1 commit intomainfrom
feat/disable-publisher-creation

Conversation

@felippemsc
Copy link
Contributor

@felippemsc felippemsc commented Feb 6, 2026

Summary

  • Add DISABLE_PUBLISHER_API environment variable to restrict access to publisher management endpoints in production
  • When enabled, all /publishers endpoints (POST, PATCH, GET) return 403 Forbidden
  • Prevents unauthorized publisher registration and information disclosure on production API

Test plan

  • Verified on dev with DISABLE_PUBLISHER_API=false - all endpoints work normally
  • Verified on dev with DISABLE_PUBLISHER_API=true - all endpoints return 403

@felippemsc felippemsc added the deploy-rc Deploys release candidate to dev environment label Feb 6, 2026
@github-actions
Copy link

github-actions bot commented Feb 6, 2026

🚀 Release Candidate Deployed!

Version: v0.0.18-rc.37

The RC has been deployed to the dev environment. Check the /health endpoint to verify.

@felippemsc felippemsc merged commit 9d7b81d into main Feb 6, 2026
5 checks passed
@felippemsc felippemsc deleted the feat/disable-publisher-creation branch February 6, 2026 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deploy-rc Deploys release candidate to dev environment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant