Configure dashboard menu on globalvar configuration
This commit is contained in:
parent
b90aae6862
commit
93e2693db4
@ -86,5 +86,56 @@ menu = {
|
||||
"roles":[1,2,3]
|
||||
}
|
||||
]
|
||||
},
|
||||
"dashboard": {
|
||||
"navbar": [
|
||||
{
|
||||
"name":"Home",
|
||||
"target":"_self",
|
||||
"href":"/",
|
||||
"notification":0,
|
||||
"roles":[0,1,2,3]
|
||||
}
|
||||
],
|
||||
"profile": [
|
||||
{
|
||||
"name" :"Profile",
|
||||
"href" :"/dashboard/profile",
|
||||
"target":"_self",
|
||||
"roles":[1,2]
|
||||
},
|
||||
{
|
||||
"name" :"Settings",
|
||||
"href" :"/dashboard/settings",
|
||||
"target":"_self",
|
||||
"roles":[1,2]
|
||||
},
|
||||
{
|
||||
"name" :"Logout",
|
||||
"href" :"/logout",
|
||||
"target":"_self",
|
||||
"roles":[1,2,3]
|
||||
}
|
||||
],
|
||||
"sidebar": [
|
||||
{
|
||||
"name":"Dashboard",
|
||||
"target":"_self",
|
||||
"href":"/dashboard",
|
||||
"roles":[1,2]
|
||||
},
|
||||
{
|
||||
"name":"Roles",
|
||||
"target":"_self",
|
||||
"href":"/dashboard/roles",
|
||||
"roles":[1]
|
||||
},
|
||||
{
|
||||
"name":"Users",
|
||||
"target":"_self",
|
||||
"href":"/dashboard/users",
|
||||
"roles":[1,2]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user