mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-01 23:18:17 +00:00
Merge pull request #4181 from jumpserver/pr@dev@applet
perf: Virtualapp and appprovider tab perm
This commit is contained in:
commit
e92173f8e8
@ -41,14 +41,14 @@ export default {
|
||||
title: this.$t('VirtualApp'),
|
||||
name: 'VirtualApp',
|
||||
hidden: () => {
|
||||
return !store.getters.publicSettings['VIRTUAL_APP_ENABLED'] || !this.$store.getters.hasValidLicense
|
||||
return !store.getters.publicSettings['VIRTUAL_APP_ENABLED'] || !this.$store.getters.hasValidLicense || !this.$hasPerm('terminal.view_virtualapp')
|
||||
}
|
||||
},
|
||||
{
|
||||
title: this.$t('AppProvider'),
|
||||
name: 'AppProvider',
|
||||
hidden: () => {
|
||||
return !store.getters.publicSettings['VIRTUAL_APP_ENABLED'] || !this.$store.getters.hasValidLicense
|
||||
return !store.getters.publicSettings['VIRTUAL_APP_ENABLED'] || !this.$store.getters.hasValidLicense || !this.$hasPerm('terminal.view_appprovider')
|
||||
}
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user