# Staff Guide

## The Admin Panel

After signing in, staff land on `/admin`. The sidebar on the left contains navigation links to every section. The sections you can access depend on your [role and permissions](/user-docs/roles-permissions.md).

| Section                  | Path                            | What it's for                                         |
| ------------------------ | ------------------------------- | ----------------------------------------------------- |
| Students                 | `/admin/students`               | View, add, edit, and remove students                  |
| Staff                    | `/admin/staff`                  | View, add, edit, and remove staff members             |
| Courses                  | `/admin/courses`                | Create and manage courses                             |
| Schedules                | `/admin/schedules`              | View the full schedule grid and per-student schedules |
| Rosters                  | `/admin/rosters`                | Manage which students are enrolled in each course     |
| Attendance — Daily       | `/admin/attendance/daily`       | Run and review daily check-in/check-out sessions      |
| Attendance — Per Course  | `/admin/attendance/per-course`  | View attendance broken down by course                 |
| Attendance — Per Student | `/admin/attendance/per-student` | View attendance broken down by student                |
| Invite                   | `/admin/invite`                 | Generate invite links for new users                   |
| Roles                    | `/admin/roles`                  | Create and manage permission roles                    |

## Managing Students

Go to **Students** to see a searchable table of all students in your institution.

* **Add a student**: click the **+** button in the top-right corner.
* **Edit a student**: click the pencil icon on any row.
* **Delete a student**: click the trash icon on any row and confirm.

You can filter the list by typing in the search bar at the top of the table.

## Managing Staff

Go to **Staff** to see a table of all staff members.

* **Add a staff member**: click the **+** button.
* **Edit a staff member**: click the pencil icon (name, email, assigned role).
* **Delete a staff member**: click the trash icon and confirm.

## Managing Courses

Go to **Courses** to see all courses.

* **Add a course**: click the **+** button and fill in the name, location, and instructor.
* **Edit a course**: click the pencil icon.
* **Delete a course**: click the trash icon and confirm.

## Schedules

Go to **Schedules** to view the full schedule.

* **Everything** view shows all courses laid out on a weekly grid.
* **Per Student** view lets you look up an individual student's schedule.

The schedule can be printed directly from the browser.

## Rosters

Go to **Rosters** to manage course enrollment.

1. Select a course from the left-hand panel (or on mobile, tap the menu icon).
2. The roster table on the right shows all students currently enrolled.
3. Click **Add student** to enroll someone, or the trash icon to remove them.

> Staff who are assigned as instructor or support staff for a course can edit its roster even without the `manage_courses` permission.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.chestnut.tools/user-docs/staff-guide.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
