Repeatedly prompted for gcloud logging commands despite selecting 'don't ask again'

Resolved 💬 3 comments Opened Mar 7, 2026 by ThomasCrul Closed Mar 10, 2026

Description

When Claude Code runs gcloud logging read commands, I am repeatedly prompted to allow them, even after selecting "don't ask again" and restarting Claude Code.

Steps to Reproduce

  1. Have Claude Code run a gcloud logging read command
  2. When prompted, select "don't ask again" to allow the command
  3. Claude Code runs another gcloud logging read command
  4. Prompted again for permission

Expected Behavior

After selecting "don't ask again", subsequent gcloud logging read commands should be auto-allowed without prompting.

Observed Behavior

  • The permission prompt keeps appearing for gcloud logging commands
  • This persists across restarts
  • The settings.local.json file shows entries like "Bash(gcloud logging:*)" and "Bash(gcloud logging read:*)" in the allow list, but prompts continue

Environment

  • macOS (Darwin 25.0.0)
  • Claude Code with claude-opus-4-5-20251101

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗