# Ace permissions

***

### 🔐 Permissions

The `/grua` and `/canceltow` commands are protected by an ACE permission check to ensure only authorized users can execute them.

***

#### ➕ Example: Grant permission to an admin group

```cfg
add_ace group.admin "izaap.grua" allow
```

✅ Grants all users in the **admin** group access to both `/grua` and `/canceltow`.

***

#### 🔑 Example: Grant permission to a specific license

```cfg
cfadd_ace identifier.license:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "izaap.grua" allow
```

✅ Grants this **specific player** access to use the grúa commands.

Replace the `license:` value with the actual player identifier from your database or logs.

***

#### 💡 Note:

* The script automatically checks for this **ACE permission** before executing either command.
* If the player **does not have permission**, the command is ignored, and a **"No permission"** message is printed in the console (you can integrate a notification if desired).
* This ensures only authorized staff can control the vehicle deletion system.
