Skip to content

Commit

Permalink
perf: User details community version removes user acl
Browse files Browse the repository at this point in the history
  • Loading branch information
feng626 committed Sep 18, 2024
1 parent aa605ad commit bbc3f53
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/users/User/UserDetail/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import AssetPermissionAsset from '@/views/perms/AssetPermission/AssetPermissionD
import AssetPermissionDetail from '@/views/perms/AssetPermission/AssetPermissionDetail/index.vue'
import AssetPermissionAccount from '@/views/perms/AssetPermission/AssetPermissionDetail/AssetPermissionAccount.vue'
import UserAssetPermissionRules from './UserAssetPermissionRules'
import store from '@/store'
export default {
components: {
Expand Down Expand Up @@ -63,7 +64,7 @@ export default {
{
title: this.$t('UserAclLists'),
name: 'UserLoginAcl',
hidden: () => !vm.$hasPerm('acls.view_loginacl')
hidden: () => !vm.$hasPerm('acls.view_loginacl') || !store.getters.publicSettings.XPACK_LICENSE_IS_VALID
},
{
title: this.$t('UserSession'),
Expand Down

0 comments on commit bbc3f53

Please sign in to comment.