กำหนดสิทธิ์จัดการโครงสร้าง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-11-11 13:11:42 +07:00
parent 2ccdcef509
commit 90568eac79
3 changed files with 22 additions and 12 deletions

View file

@ -63,26 +63,31 @@ const menuList = readonly<any[]>([
key: 2.0,
label: "ข้อมูลเกี่ยวกับบุคคล",
path: "masterPersonal",
role: ["SUPER_ADMIN"],
},
{
key: 2.0,
label: "ข้อมูลตำแหน่งข้าราชการ ฯ",
path: "masterPosition",
role: ["SUPER_ADMIN"],
},
{
key: 2.0,
label: "ข้อมูลตำแหน่งลูกจ้างประจำ",
path: "masterPositionEmployee",
role: ["SUPER_ADMIN"],
},
{
key: 2.0,
label: "ข้อมูลปฏิทินวันหยุด",
path: "masterCalendarWork",
role: ["SUPER_ADMIN"],
},
{
key: 2.0,
label: "ข้อมูลเครื่องราชอิสริยาภรณ์",
path: "masterInsigniaPage",
role: ["SUPER_ADMIN"],
},
],
},
@ -97,26 +102,31 @@ const menuList = readonly<any[]>([
key: 2.0,
label: "จัดการผู้ใช้งาน",
path: "manageUsers",
role: ["SUPER_ADMIN", "ADMIN"],
},
{
key: 2.0,
label: "จัดการบทบาทและสิทธิ์ (Roles)",
path: "manageRoles",
role: ["SUPER_ADMIN"],
},
{
key: 2.0,
label: "กำหนดสิทธิ์ (Permissions)",
path: "managePermission",
role: ["SUPER_ADMIN", "ADMIN"],
},
{
key: 2.0,
label: "กำหนดสิทธิ์จัดการโครงสร้าง",
path: "roleOrganization",
role: ["SUPER_ADMIN", "ADMIN"],
},
{
key: 2.0,
label: "มอบหมายหน้าที่ความรับผิดชอบ",
path: "responsibilities",
role: ["SUPER_ADMIN", "ADMIN"],
},
],
},
@ -147,11 +157,13 @@ const menuList = readonly<any[]>([
key: 2.0,
label: "รายการคำสั่ง",
path: "commandTemplate",
role: ["SUPER_ADMIN"],
},
{
key: 2.0,
label: "ต้นแบบสำหรับลงในตำแหน่ง/เงินเดือน",
path: "salaryTemplate",
role: ["SUPER_ADMIN"],
},
],
},