|
|
|
@ -1,4 +1,5 @@
|
|
|
|
|
<script lang="ts" setup> |
|
|
|
|
import { OrgUserRoles } from 'nocodb-sdk' |
|
|
|
|
import type { OrgUserReqType, RequestParams, Roles, UserType } from 'nocodb-sdk' |
|
|
|
|
import type { User } from '#imports' |
|
|
|
|
import { extractSdkResponseErrorMsg, iconMap, useApi, useCopy, useDashboard, useNuxtApp } from '#imports' |
|
|
|
@ -195,7 +196,7 @@ const copyPasswordResetUrl = async (user: User) => {
|
|
|
|
|
> |
|
|
|
|
<a-select-option |
|
|
|
|
class="nc-users-list-role-option" |
|
|
|
|
:value="Role.OrgLevelCreator" |
|
|
|
|
:value="OrgUserRoles.CREATOR" |
|
|
|
|
:label="$t(`objects.roleType.orgLevelCreator`)" |
|
|
|
|
> |
|
|
|
|
<div>{{ $t(`objects.roleType.orgLevelCreator`) }}</div> |
|
|
|
@ -206,7 +207,7 @@ const copyPasswordResetUrl = async (user: User) => {
|
|
|
|
|
|
|
|
|
|
<a-select-option |
|
|
|
|
class="nc-users-list-role-option" |
|
|
|
|
:value="Role.OrgLevelViewer" |
|
|
|
|
:value="OrgUserRoles.VIEWER" |
|
|
|
|
:label="$t(`objects.roleType.orgLevelViewer`)" |
|
|
|
|
> |
|
|
|
|
<div>{{ $t(`objects.roleType.orgLevelViewer`) }}</div> |
|
|
|
|