diff --git a/src/interface/request/main/main.ts b/src/interface/request/main/main.ts index bbed2f86..5d5bf532 100644 --- a/src/interface/request/main/main.ts +++ b/src/interface/request/main/main.ts @@ -113,6 +113,11 @@ const menuList = readonly([ label: "กำหนดสิทธิ์จัดการโครงสร้าง", path: "roleOrganization", }, + { + key: 2.0, + label: "มอบหมายหน้าที่ความรับผิดชอบ", + path: "responsibilities", + }, ], }, { @@ -129,14 +134,14 @@ const menuList = readonly([ activeIcon: "settings", label: "ตั้งค่าระบบ", path: "viewSystem", - role: ["SUPER_ADMIN", "ADMIN"], + role: ["SUPER_ADMIN"], }, { key: 2, icon: "mdi-file-document-outline", activeIcon: "mdi-file-document-outline", label: "คำสั่งและ Template", - role: ["SUPER_ADMIN", "ADMIN"], + role: ["SUPER_ADMIN"], children: [ { key: 2.0, diff --git a/src/modules/04_system/router.ts b/src/modules/04_system/router.ts index 97808493..a4d93927 100644 --- a/src/modules/04_system/router.ts +++ b/src/modules/04_system/router.ts @@ -6,7 +6,7 @@ export default [ name: "viewSystem", component: MainView, meta: { - Role: ["SUPER_ADMIN", "ADMIN"], + Role: ["SUPER_ADMIN"], }, }, ]; diff --git a/src/modules/05_command/router.ts b/src/modules/05_command/router.ts index 6040390a..103bd574 100644 --- a/src/modules/05_command/router.ts +++ b/src/modules/05_command/router.ts @@ -8,7 +8,7 @@ export default [ name: "commandTemplate", component: ListsPage, meta: { - Role: ["SUPER_ADMIN", "ADMIN"], + Role: ["SUPER_ADMIN"], }, }, { @@ -16,7 +16,7 @@ export default [ name: "salaryTemplate", component: SalaryTemplate, meta: { - Role: ["SUPER_ADMIN", "ADMIN"], + Role: ["SUPER_ADMIN"], }, }, ];