mirror of
https://github.com/jumpserver/lina.git
synced 2025-07-09 13:13:25 +00:00
Merge pull request #1439 from jumpserver/pr@dev@fix_menu_rbac
fix: 修改菜单rbac权限位
This commit is contained in:
commit
76d83aa24b
@ -14,7 +14,7 @@ export default {
|
|||||||
title: i18n.t('common.nav.Audits'),
|
title: i18n.t('common.nav.Audits'),
|
||||||
icon: 'el-icon-s-claim',
|
icon: 'el-icon-s-claim',
|
||||||
showNavSwitcher: true,
|
showNavSwitcher: true,
|
||||||
permissions: ['rbac.view_audit'],
|
permissions: ['rbac.view_auditview'],
|
||||||
view: 'audit'
|
view: 'audit'
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
@ -25,9 +25,7 @@ export default {
|
|||||||
meta: {
|
meta: {
|
||||||
icon: 'dashboard',
|
icon: 'dashboard',
|
||||||
title: i18n.t('route.Dashboard'),
|
title: i18n.t('route.Dashboard'),
|
||||||
permissions: [],
|
permissions: []
|
||||||
resource: 'common',
|
|
||||||
app: 'common'
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -21,7 +21,7 @@ export default {
|
|||||||
view: 'console',
|
view: 'console',
|
||||||
type: 'view',
|
type: 'view',
|
||||||
showNavSwitcher: true,
|
showNavSwitcher: true,
|
||||||
permissions: ['rbac.view_console']
|
permissions: ['rbac.view_adminview']
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
|
@ -15,7 +15,7 @@ export default {
|
|||||||
icon: 'el-icon-user-solid',
|
icon: 'el-icon-user-solid',
|
||||||
showNavSwitcher: true,
|
showNavSwitcher: true,
|
||||||
showOrganization: true,
|
showOrganization: true,
|
||||||
permissions: ['rbac.view_workspace']
|
permissions: ['rbac.view_userview']
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
// 404 page must be placed at the end !!!
|
// 404 page must be placed at the end !!!
|
||||||
|
Loading…
Reference in New Issue
Block a user