Files

143 lines
3.3 KiB
TypeScript

const rolePages = [
{
id_user: 1,
username: "Super Admin",
email: "admin@company.com",
password: "123456",
full_name: "System Administrator",
role: "super_admin",
role_description: "Administrative access with most permissions",
pages: [
{
title: "Dashboard1",
path: "/dashboards/dashboard1",
permissions: ["create", "view", "update", "delete"],
},
{
title: "Dashboard3",
path: "/dashboards/dashboard3",
permissions: ["create", "view", "update", "delete"],
},
{
title: "Homepage",
path: "/front-page/homepage",
permissions: ["create", "view", "update", "delete"],
},
{
title: "About Us",
path: "/front-page/about-us",
permissions: ["create", "view", "update", "delete"],
},
{
title: "Error",
path: "/auth/404",
permissions: ["view"],
},
{
title: "Side Login",
path: "/auth/login",
permissions: ["view"],
},
{
title: "Shop",
path: "/ecommerce/products",
permissions: ["view"],
},
{
title: "Detail",
path: "/ecommerce/product/detail/1",
permissions: ["view"],
},
{
title: "Autocomplete",
path: "/forms/form-elements/autocomplete",
permissions: ["view"],
},
{
title: "Combobox",
path: "/forms/form-elements/combobox",
permissions: ["view"],
},
{
title: "Level 3",
path: "/barry",
permissions: ["view"],
},
{
title: "Sample Page",
path: "/sample-page",
permissions: ["create", "view", "update"],
},
{
title: "Sample Page Copy",
path: "/sample-page-copy",
permissions: ["view"],
},
{
title: "CRUD Table",
path: "/tables/datatables/crudtable",
permissions: ["view", "delete"],
},
{
title: "Basic Table",
path: "/tables/datatables/BasicTable",
permissions: ["view"],
},
{
title: "Basic Table",
permissions: ["view"],
path: "/tables/TableBasic",
},
{
title: "Editable Table",
permissions: ["view","update"],
path: "/tables/TableEditable",
},
{
title: "Height Table",
permissions: ["view"],
path: "/tables/tableheight",
},
{
title: "Sample Page Login",
path: "/sample-page-login",
permissions: ["view"],
},
],
},
{
id_user: 2,
username: "user",
email: "manager1@company.com",
password: "234567",
full_name: "John Manager",
role: "user",
role_description: "User level access for operational tasks",
pages: [
{
title: "Dashboard1",
path: "/dashboards/dashboard1",
permissions: ["view"],
},
{
title: "Dashboard2",
path: "/dashboards/dashboard1",
permissions: ["view"],
},
{
title: "Homepage",
path: "/front-page/homepage",
permissions: ["view"],
},
{
title: "About Us",
path: "/front-page/about-us",
permissions: ["view"],
},
],
},
];
export default rolePages;