mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-29 21:28:52 +00:00
fix: 修复命令过滤规则权限问题
This commit is contained in:
@@ -257,7 +257,8 @@ export default [
|
||||
component: empty,
|
||||
redirect: '',
|
||||
meta: {
|
||||
resource: 'label'
|
||||
resource: 'label',
|
||||
permissions: ['assets.view_label']
|
||||
},
|
||||
children: [
|
||||
{
|
||||
|
||||
@@ -20,6 +20,9 @@ export default {
|
||||
return {
|
||||
tableConfig: {
|
||||
url: `/api/v1/assets/cmd-filters/${this.object.id}/rules/`,
|
||||
permissions: {
|
||||
resource: 'commandfilterrule'
|
||||
},
|
||||
columns: ['type', 'content', 'ignore_case', 'action', 'priority', 'pattern', 'comment', 'actions'],
|
||||
columnsMeta: {
|
||||
type: {
|
||||
|
||||
Reference in New Issue
Block a user