Pub/Sub emulator bypassing IAM enforcement during local testing
The Google Cloud Pub/Sub emulator allows for local development by setting the PUBSUB_EMULATOR_HOST environment variable. However, when active, the emulator bypasses standard OAuth 2.0 token validation and IAM permission checks. This current permissive behavior creates a discrepancy between local testing environments and production. While the emulator accepts