add permission
This commit is contained in:
parent
b9b26f18de
commit
2842279165
9 changed files with 101 additions and 433 deletions
|
|
@ -2,17 +2,13 @@ const ListsPage = () => import("@/modules/03_logs/views/lists.vue");
|
|||
|
||||
export default [
|
||||
{
|
||||
path: "/users",
|
||||
name: "manageUsers",
|
||||
path: "/lists",
|
||||
name: "viewLogs",
|
||||
component: ListsPage,
|
||||
meta: {
|
||||
Auth: true,
|
||||
Key: [7],
|
||||
Role: "user_role",
|
||||
Role: ["SUPER_ADMIN", "ADMIN"],
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/users/:id",
|
||||
name: "masterInsignia",
|
||||
},
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue