Skip to main content

Roles & permissions

A role decides which tabs a staff member can see and what they can do. Roles are shared across all stores. Only administrators can create, edit and delete roles.

Role chart: the company at the top, level 1, level 2… roles below
  1. Create a new role
  2. A role: level, permissions out of 23, number of people holding it
  3. Edit the role
  4. Lower-level role (under its parent role)
Role chart: the company at the top, level 1, level 2… roles below

Role hierarchy​

Roles are arranged by level: level 1 roles sit directly under the company, level 2 roles sit under a level 1 role, and so on.

Company→Admin (level 1)→Store manager (level 2)→Staff (level 3)
  • The parent role and all levels above it can assign and edit the roles below.
  • Each role card shows how many permissions / 23 it has and how many people hold it.

Create or edit a role​

The 'Sửa vai trò' (Edit role) dialog: ready-made templates, name, parent role, management chain and permission table
  1. Start from a template: fills in a permission set
  2. Role name (required) and description
  3. Which role it reports to
  4. Management chain: who is above, who is below
  5. Search for a page or permission code
  6. View and Manage columns for each page
  7. Review the impact before saving
The 'Sửa vai trò' (Edit role) dialog: ready-made templates, name, parent role, management chain and permission table
Click Tạo vai trò mới (Create new role), or click the pencil icon on a role
Choose a template to pre-fill (optional)

See the template table below.

Enter a name and description, and choose the parent role (Trực thuộc vai trò / Reports to role)
Tick permissions in the Quyền theo trang (Permissions by page) table

You can only grant permissions you have yourself.

Click Xem tác động & lưu (Review impact & save)
Check the impact of the change, then confirm to save.

Interactive walkthrough: follow each step right on the screenshots below. Click the flashing box to go to the next step.

Create a new roleStep 1/8
Click Tạo vai trò mới (Create new role)
Click Tạo vai trò mới (Create new role)The orange button in the top-right corner of the role chart.
TemplateForPermissions
Quản trị viên (Administrator)Full access to every page and every store23/23
Cửa hàng trưởng (Store manager)Runs one store: orders, staff, reconciliation17/23
Nhân viên (Staff)Creates orders and tracks orders of their own store6/23

What are the 23 permissions?​

Every page has a Xem (View) permission (open the page and read its data only). Pages with actions also have a Thao tác (Manage) permission (change data); turning on Manage automatically turns on and locks View.

PageView (Xem)Manage (Thao tác) — turning on Manage also turns on View
Tổng quan (Overview)YesRead-only page, no actions
Đơn hàng (Orders)YesCreate and cancel orders, rate drivers, estimate prices and rent vehicles
Đơn hàng kho (Warehouse orders)YesRead-only page, no actions
Thanh toán (Payments)YesTop up the company account
Hoá đơn VAT (VAT invoices)YesRead-only page, no actions
Đối soát (Reconciliation)YesRead-only page, no actions
Đối soát COD (COD reconciliation)YesRead-only page, no actions
Bồi hoàn (Reimbursements)YesApprove or reject reimbursements charged to the company
Nhân viên (Staff)YesInvite new staff and remove staff from the company
Cửa hàng (Stores)YesEdit store name, tax code and address
Phân quyền (Roles & permissions)YesRead-only page, no actions
Tích hợp (Integrations)YesCreate and revoke API keys, change webhook endpoints

Standalone permissions — not bundled into any page’s Manage permission because the consequences are very different:

  • Xem báo cáo chi tiết (View detailed reports): Open the Metabase report tab in Overview; also needs View on Overview.
  • Xem đơn của toàn công ty (View company-wide orders): See orders created by anyone in the company, not just your own. Does not allow cancelling other people’s orders.
  • Xuất danh sách đơn ra email (Export orders to email): Send the order file to any email address — data leaves the portal.
  • Gán nhân viên vào cửa hàng (Assign staff to stores): Place people in branches, but cannot edit store names or tax codes.
  • Gán vai trò cho nhân viên (Assign roles to staff): Pick from existing roles, but cannot create roles or change permission sets.
Be careful with "Xuất danh sách đơn ra email" (Export order list to email)

This permission lets someone send an order file to any email address, which means customer data leaves the portal. Only grant it to people who really need it.

Assign roles to staff​

Roles are assigned per store on the Staff page. One person can be Cửa hàng trưởng (Store manager) at one branch and Nhân viên (Staff) at another.