fix(系统用户): 添加用户无需用户组查询权限

This commit is contained in:
baiqi 2024-07-11 18:01:32 +08:00 committed by 刘瑞斌
parent f94a0803fc
commit aa85b34b74
1 changed files with 3 additions and 8 deletions

View File

@ -3,7 +3,7 @@
<div class="mb-4 flex items-center justify-between"> <div class="mb-4 flex items-center justify-between">
<div> <div>
<a-button <a-button
v-permission.all="['SYSTEM_USER:READ+ADD', 'SYSTEM_USER_ROLE:READ']" v-permission.all="['SYSTEM_USER:READ+ADD']"
class="mr-3" class="mr-3"
type="primary" type="primary"
@click="showUserModal('create')" @click="showUserModal('create')"
@ -11,19 +11,14 @@
{{ t('system.user.createUser') }} {{ t('system.user.createUser') }}
</a-button> </a-button>
<a-button <a-button
v-permission.all="['SYSTEM_USER:READ+INVITE', 'SYSTEM_USER_ROLE:READ']" v-permission.all="['SYSTEM_USER:READ+INVITE']"
class="mr-3" class="mr-3"
type="outline" type="outline"
@click="showEmailInviteModal" @click="showEmailInviteModal"
> >
{{ t('system.user.emailInvite') }} {{ t('system.user.emailInvite') }}
</a-button> </a-button>
<a-button <a-button v-permission.all="['SYSTEM_USER:READ+IMPORT']" class="mr-3" type="outline" @click="showImportModal">
v-permission.all="['SYSTEM_USER:READ+IMPORT', 'SYSTEM_USER_ROLE:READ']"
class="mr-3"
type="outline"
@click="showImportModal"
>
{{ t('system.user.importUser') }} {{ t('system.user.importUser') }}
</a-button> </a-button>
</div> </div>