mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-18 08:12:33 +00:00
fix: 修改系统设置-终端设置创建权限控制
This commit is contained in:
committed by
Jiangjie.Bai
parent
bc21d7ac17
commit
1f0fe18533
@@ -42,6 +42,7 @@ export default {
|
||||
}
|
||||
},
|
||||
headerActions: {
|
||||
canCreate: this.$hasPerm('terminal.add_endpoint'),
|
||||
hasMoreActions: false,
|
||||
createRoute: 'EndpointCreate'
|
||||
}
|
||||
|
@@ -41,6 +41,7 @@ export default {
|
||||
}
|
||||
},
|
||||
headerActions: {
|
||||
canCreate: this.$hasPerm('terminal.add_endpointrule'),
|
||||
hasMoreActions: false,
|
||||
createRoute: 'EndpointRuleCreate'
|
||||
}
|
||||
|
@@ -20,6 +20,7 @@ export default {
|
||||
const vm = this
|
||||
return {
|
||||
commandActions: {
|
||||
canCreate: this.$hasPerm('terminal.add_commandstorage'),
|
||||
hasExport: false,
|
||||
hasImport: false,
|
||||
hasRefresh: true,
|
||||
|
@@ -15,6 +15,7 @@ export default {
|
||||
const storageOptions = getReplayStorageOptions()
|
||||
return {
|
||||
replayActions: {
|
||||
canCreate: this.$hasPerm('terminal.add_replaystorage'),
|
||||
hasExport: false,
|
||||
hasImport: false,
|
||||
hasRefresh: true,
|
||||
|
Reference in New Issue
Block a user