> For the complete documentation index, see [llms.txt](https://docs.vmass.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vmass.vn/chuc-nang-phan-quyen/dang-nhap-theo-phan-quyen.md).

# Tạo tài khoản

<figure><img src="/files/A73lYqskBnwehPACysll" alt="Chức năng tạo tài khoản mới"><figcaption><p>Chức năng tạo tài khoản mới</p></figcaption></figure>

## Tạo mới tài khoản

* Chọn nút “Thêm”
* Điền thông tin liên quan của tài khoản vào Form

> Tên nhân viên: Điền tên của nhân viên hoặc bộ phận mà nhân viên đang làm
>
> Tên đăng nhập: Là ID đăng nhập của tài khoản nhân viên, tên đăng nhập phải là chữ cái viết thường, liền nhau và không có dấu (Ví dụ: thungan, phache, chayban, nguyenthikimhong, nguyentrongtai...)
>
> Email: Điền email của nhân viên sử dụng hoặc email của chủ cửa hàng, sau này có thể sẽ sử dụng để đổi mật khẩu cho tài khoản
>
> Mật khẩu: Thiết lập mật khẩu cho tài khoản
>
> Nhập lại mật khẩu: Nhập lại mật khẩu vừa tạo phía trên
>
> Phân quyền: Chọn 1 quyền mà tài khoản này được sử dụng, đảm bảo phù hợp với tính nhất được giao (Ví dụ: Bộ phận thu ngân thì cho sử dụng tài khoản "Thu ngân", bộ phận chạy bàn thì cho sử dụng tài khoản "Chạy bàn", bộ phận pha chế thì cho sử dụng tài khoản "Pha chế" (hình dưới). Quyền này được tạo tại chức năng [Tạo phân quyền](/chuc-nang-phan-quyen/phan-quyen.md)

<figure><img src="/files/LpT9xdQBe7gczLOteXeZ" alt="Chọn 1 quyền sử dụng cho tài khoản"><figcaption><p>Chọn 1 quyền sử dụng cho tài khoản</p></figcaption></figure>

* Bấm nút "Tạo tài khoản" để hoàn tất

<figure><img src="/files/MfhQVSKwHLeDb7WQjReY" alt="Nút tạo tài khoản"><figcaption><p>Nút tạo tài khoản</p></figcaption></figure>

## Chỉnh sửa thông tin tài khoản

* Bấm vào Button Dropdown phía bên phải tên tài khoản, chọn "Sửa thông tin"

<figure><img src="/files/obXfUSzWMzSxBPn362UV" alt="Chỉnh sửa thông tin tài khoản"><figcaption><p>Chỉnh sửa thông tin tài khoản</p></figcaption></figure>

* Điền các thông tin cần thay đổi của tài khoản
* Bấm vào nút "Cập nhật" để lưu thay đổi

<figure><img src="/files/dDYZlMTsLfdXNXjbDCsd" alt="Nút cập nhật"><figcaption><p>Nút cập nhật</p></figcaption></figure>

## Xoá tài khoản

Khi muốn xoá tài khoản khỏi hệ thống, bạn chọn vào nút Dropdown bên phải tên tài khoản và chọn "Xoá". Sau đó xác nhận đồng ý xoá trên hộp thoại hiện ra là xong.


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.vmass.vn/chuc-nang-phan-quyen/dang-nhap-theo-phan-quyen.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
