Permissions.mp4

Permissions

Introduction

When you're working with an agent, you need to think carefully about risk versus reward. Give Claude Code too much power, and it might accidentally delete your entire file system. That's why Claude Code has a detailed permissions model that's very strict by default about what it allows the agent to do.

You have complete control over what Claude Code can access. You can approve actions one at a time, create rules for entire categories of commands, and even share these permissions with your team so everyone gets the same safe setup.

Steps To Complete

Understanding the Permissions Flow

Ask Claude Code to run a safe command and observe that it executes immediately without asking for permission.

run echo hello

Ask Claude Code to run a type check command. Notice that it now shows you:

run a type check on the project

Working with Permission Files

This file stores all the permissions you've granted. Look for a permissions property with allow and deny arrays.