> For the complete documentation index, see [llms.txt](https://atiysus-organization.gitbook.io/aty-scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://atiysus-organization.gitbook.io/aty-scripts/restaurant-creator/features/employees-and-permissions.md).

# Employees & Permissions

Managed from the **Employees** tab of the management tablet.

#### Hiring & roster

* Send a **job offer** by entering a player's Server ID; they accept to join.
* View each employee's activity status, total revenue generated, and score.
* Promote, demote or terminate employees.

#### Ranks & permission matrix

Each restaurant has a configurable **rank/permission matrix** stored in its `data.ranks`. Higher ranks unlock more of the tablet (menu editing, hiring, funds, settings…).

* Non-owners cannot assign the Owner rank or a rank equal to/higher than their own.
* Changes are saved server-side to the database and take effect immediately.

#### Duty & salary

* Employees clock on/off at a **Clock-In Terminal**.
* On-duty employees are paid automatically from company funds every `Config.SalaryInterval` (default 30 min).
* Only clocked-in staff count toward "On Duty" on the dashboard and receive salary.

#### Access control

Whether someone can open the tablet or interact with owner-only stations is decided from live restaurant data (owner citizenid + employee list), so ownership and staffing changes apply without a relog.

{% hint style="success" %}
The permission matrix save is server-authoritative — rank changes persist across restarts.
{% endhint %}
