# Ace permissions

***

#### 🔐 Permissions

The `/addslotjob` and `/setslotjob` admin commands in the Job Menu system are protected by an ACE permission check to ensure only authorized staff members can modify job slot data.

***

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

```
add_ace group.admin "izaap.jobmenu" allow
```

✅ Grants all users in the `admin` group access to use `/addslotjob` and `/setslotjob`.

***

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

```
add_ace identifier.license:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "izaap.jobmenu" allow
```

✅ Allows only this specific player (by license) to execute the job slot management commands.

*Replace `license:xxxxxxxx...` with the actual player license identifier.*

***

**💡 Note:**

The script automatically checks for this ACE permission before running either command.\
If the player does not have permission, the action is denied, and a "No permission" message is shown in chat.

This helps ensure only verified staff can modify job slots, keeping your job system secure and controlled.
