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
- Have Claude Code run a
gcloud logging readcommand - When prompted, select "don't ask again" to allow the command
- Claude Code runs another
gcloud logging readcommand - 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 loggingcommands - 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
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗