> For the complete documentation index, see [llms.txt](https://docs.tlic.cmu.ac.th/cmu-matthew-ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tlic.cmu.ac.th/cmu-matthew-ai/creator-portal/ai-teaching-assistant/step-4-access-control-setting.md).

# Step 4: Access Control Setting

<figure><img src="/files/jKyHjGZwvhUAMhJ8lsF3" alt=""><figcaption></figcaption></figure>

## Access control

**การกำหนดสิทธิ์การเข้าถึง (Access Control)**

กำหนดรายชื่อผู้ใช้งานที่สามารถเข้าถึงและใช้งานผู้ช่วย AI ได้

* เพิ่มสิทธิ์การเข้าถึงโดยระบุอีเมลผู้ใช้งาน
* รองรับการนำเข้ารายชื่อจากระบบ TLIC CMU Course Portal
* สามารถเพิ่มอีเมลด้วยตนเองได้ โดยคั่นด้วยเครื่องหมายจุลภาค (,) หรือขึ้นบรรทัดใหม่
* ระบบจะกรองอีเมลที่ซ้ำกันโดยอัตโนมัติ
* ผู้สร้างผู้ช่วย AI จะมีสิทธิ์เข้าถึงเสมอ และไม่สามารถถูกลบออกจากรายการได้

**ข้อกำหนด:**

* รองรับเฉพาะอีเมลที่ลงท้ายด้วย **@cmu.ac.th** เท่านั้น
* สามารถนำเข้ารายชื่อผู้เรียนจากรายวิชาในระบบ TLIC CMU Course Portal เพื่อกำหนดสิทธิ์การใช้งานได้อย่างรวดเร็ว

{% hint style="info" %}
**รู้หรือไม่?** ท่านสามารถสร้างแชทบอทเพื่อใช้งานส่วนตัวได้ โดยในส่วนของขั้นตอน Access ไม่ต้องเพิ่มบุคคลอื่นให้สามารถเข้าถึงแชทบอทที่ท่านสร้างได้นั่นเอง
{% endhint %}

### Default access

ส่วนนี้จะแสดงผลบัญชีของผู้ใช้งาน (CMU mail ของท่าน)

## Import from TLIC's CMU Course Portal:

ในส่วนนี้เป็นการกำหนดสิทธิ์ให้นักศึกษาคนไหนสามารถใช้งาน AI assistant ที่อาจารย์สร้างขึ้นได้ โดยอาจารย์สามารถนำเข้ารายชื่อนักศึกษาผ่านระบบ CMU Course Portal โดยการกดปุ่มสีม่วงเพื่อทำการดึงรายชื่อโดยอัตโนมัติ

<figure><img src="/files/N1vr3386UqEk4JtJVtQt" alt=""><figcaption></figcaption></figure>

## Add emails manually

อาจารย์สามารถเพิ่มอีเมลของนักศึกษาด้วยตนเอง โดยการพิมพ์หรือคัดลอกอีเมลของนักศึกษาลงในช่องว่างและกดปุ่ม **Add emails**

<figure><img src="/files/6yGclMhcCxQvSi6zIZX4" alt=""><figcaption></figcaption></figure>

เมื่อกรอก email เรียบร้อยแล้ว ปุ่ม **Add emails จะเป็นสีดำ** ให้ท่านกด +Add emails ได้เลย

<figure><img src="/files/JsX0khYPj3fFMfwH532q" alt=""><figcaption></figcaption></figure>

### Add bulk emails manually

หากมีมากกว่า 1 email ให้แบ่งด้วย คอมม่า (,) หรือ เขียนอีเมลคนละบรรทัด&#x20;

#### การกรอก bulk emails แบบที่ 1 : แบ่งด้วย คอมม่า (,)

<emailnumber-one@cmu.ac.th>, <emailnumber-two@cmu.ac.th>, <emailnumber-three@cmu.ac.th>, <emailnumber-four@cmu.ac.th>

#### การกรอก bulk emailsแบบที่ 2 : พิมพ์อีเมลคนละบรรทัด (enter)

<emailnumber-one@cmu.ac.th>

<emailnumber-two@cmu.ac.th>

<emailnumber-three@cmu.ac.th>

<emailnumber-four@cmu.ac.th>

### **Add or Edit emails**

**การแก้ไข-เพิ่มเติม รายชื่อนักศึกษา**อาจารย์สามารถเพิ่มเติมรายชื่อนักศึกษาได้ตลอดเวลา  โดยรายชื่อนักศึกษาที่ได้รับสิทธิ์ใช้ AI assistant ตัวนั้นอยู่แล้วจะปรากฏอยู่ในช่อง "**Current Emails with Access**"&#x20;

<figure><img src="/files/TsshNRqkhj3s5FVxXlZT" alt=""><figcaption></figcaption></figure>

ส่วนนักศึกษาที่เพิ่งได้รับสิทธิ์ใหม่จะอยู่ในช่อง "New Emails to Be Granted Permission"

<figure><img src="/files/lgz1ozWl32ftY5sSuVFX" alt=""><figcaption></figcaption></figure>

* อาจารย์สามารถลบรายชื่อนักศึกษารายคนออกด้วยการกดตรงรูปถังขยะ&#x20;
* หากอาจารย์ต้องการลบรายชื่อนักศึกษาที่เพิ่งได้รับสิทธิ์ทั้งหมดออก ให้กด "CLEAR NEW EMAIL LIST"
* หากอาจารย์ต้องการลบรายชื่อนักศึกษาที่ได้รับสิทธิ์มาก่อนหน้านั้นทั้งหมดออก ให้กด "CLEAR CURRENT EMAIL LIST"
* กด "SUBMIT" เพื่อยืนยัน

{% hint style="danger" %} <mark style="color:red;">**หมายเหตุ**</mark>&#x20;

ต้องใช้ CMU Email (@cmu.ac.th) ในการเพิ่มรายชื่อเท่านั้น&#x20;
{% endhint %}

### Pending Additional

นักศึกษาที่เพิ่มโดยวิธี manually จะปรากฏรายชื่อในส่วน Pending Additional ท่านสามารถลบรายชื่อที่ไม่ต้องการแบบรายคนได้โดยการกดเครื่องหมาย x ที่ E-mail หรือ กด Clear all เพื่อลบรายชื่อใน Pending Additional ทั้งหมด

<figure><img src="/files/FcP1zcZyAB5hbxzxW5tz" alt=""><figcaption></figcaption></figure>

## Submit

เมื่อตั้งค่าเรียบร้อยแล้วกดปุ่ม <mark style="color:$success;">**Submit**</mark> บริเวณมุมขวาล่าง

<figure><img src="/files/rAL6Lsp8atjcyddEp5d7" alt=""><figcaption></figcaption></figure>

## Confirm Submission

<figure><img src="/files/A2QXAXgvSumMNrgiUOcN" alt=""><figcaption></figcaption></figure>

## **My assistants**

แชทบอทของท่านได้ถูกสร้างเรียบร้อย โดยจะปรากฏในเมนู Creator portal > **My assistants**

<figure><img src="/files/DgegcU3pSE9W7j1XWuXB" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.tlic.cmu.ac.th/cmu-matthew-ai/creator-portal/ai-teaching-assistant/step-4-access-control-setting.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.
