mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-13 11:24:17 +00:00
feat: LDAP同步用户支持组织
This commit is contained in:
committed by
Jiangjie.Bai
parent
e78e0cf132
commit
fd9916b21b
@@ -87,7 +87,7 @@ export default {
|
||||
},
|
||||
tableConfig: {
|
||||
url: '/api/v1/settings/ldap/users/',
|
||||
columns: ['username', 'name', 'email', 'existing'],
|
||||
columns: ['username', 'name', 'email', 'groups', 'existing'],
|
||||
columnsMeta: {
|
||||
username: {
|
||||
label: this.$t('users.Username'),
|
||||
@@ -97,6 +97,13 @@ export default {
|
||||
label: this.$t('users.Name'),
|
||||
width: '180px'
|
||||
},
|
||||
groups: {
|
||||
label: this.$t('users.UserGroups'),
|
||||
showOverflowTooltip: true,
|
||||
formatter: function(row) {
|
||||
return <span> {row.groups.join(' | ')} </span>
|
||||
}
|
||||
},
|
||||
email: {
|
||||
label: this.$t('users.Email')
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user