Skip to content

04 — Quiz: permissions

Pick an answer. The quiz checks it and shows the explanation.

#

1. Your rules are "deny": ["Bash(aws *)"] and "allow": ["Bash(aws s3 ls)"]. Claude runs aws s3 ls. What happens?

#

2. Your user settings deny Read(./.env). A project's .claude/settings.json allows it. Can Claude read .env in that project?

#

3. You deny Read(./.env). Claude then runs grep -r API_KEY . with Bash. What decides whether that runs?

#

4. You put "defaultMode": "bypassPermissions" in a project's .claude/settings.json. What happens at the next start?

#

5. You use auto mode and have an ask rule Bash(git push *). Claude wants to push. What happens?

Quiz Progress

0 / 0 questions answered (0%)

0 correct