Browse Source

[Feat][UI] Added LDAP function. (#11029)

3.1.0-release
songjianet 2 years ago committed by GitHub
parent
commit
ff34393333
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      dolphinscheduler-ui/src/layouts/content/use-dataList.ts
  2. 1
      dolphinscheduler-ui/src/service/modules/users/types.ts

3
dolphinscheduler-ui/src/layouts/content/use-dataList.ts

@ -340,7 +340,8 @@ export function useDataList() {
{
label: t('user_dropdown.password'),
key: 'password',
icon: renderIcon(KeyOutlined)
icon: renderIcon(KeyOutlined),
disabled: (userStore.getUserInfo as UserInfoRes).securityConfigType !== 'PASSWORD'
},
{
label: t('user_dropdown.logout'),

1
dolphinscheduler-ui/src/service/modules/users/types.ts

@ -100,6 +100,7 @@ interface UserInfoRes extends UserReq, IdReq {
alertGroup?: any
createTime: string
updateTime: string
securityConfigType: 'PASSWORD' | 'LDAP'
}
interface UserListRes {

Loading…
Cancel
Save