Skip to content

Commit 57f8373

Browse files
Keep native usersource check (error thrown from the api call anyways)
1 parent fe2a22e commit 57f8373

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/src/config/section/user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export default {
7171
popup: true,
7272
show: (record, store) => {
7373
return (['Admin', 'DomainAdmin'].includes(store.userInfo.roletype) || store.userInfo.id === record.id) &&
74-
record.state === 'enabled'
74+
['native'].includes(record.usersource) && record.state === 'enabled'
7575
},
7676
component: shallowRef(defineAsyncComponent(() => import('@/views/iam/ChangeUserPassword.vue')))
7777
},

0 commit comments

Comments
 (0)