mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-08-06 15:09:43 +00:00
auth ui: add firstname
and lastname
sync-attribute fields
This allows the user to set up a mapping for `firstname` and `lastname` attributes for LDAP user syncs. Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
This commit is contained in:
parent
2ee8cbdac1
commit
78970361b3
@ -200,7 +200,7 @@ Ext.define('Proxmox.panel.LDAPSyncInputPanel', {
|
|||||||
xtype: 'pmxAuthLDAPSyncPanel',
|
xtype: 'pmxAuthLDAPSyncPanel',
|
||||||
mixins: ['Proxmox.Mixin.CBind'],
|
mixins: ['Proxmox.Mixin.CBind'],
|
||||||
|
|
||||||
editableAttributes: ['email'],
|
editableAttributes: ['firstname', 'lastname', 'email'],
|
||||||
editableDefaults: ['scope', 'enable-new'],
|
editableDefaults: ['scope', 'enable-new'],
|
||||||
default_opts: {},
|
default_opts: {},
|
||||||
sync_attributes: {},
|
sync_attributes: {},
|
||||||
@ -282,6 +282,16 @@ Ext.define('Proxmox.panel.LDAPSyncInputPanel', {
|
|||||||
},
|
},
|
||||||
|
|
||||||
column1: [
|
column1: [
|
||||||
|
{
|
||||||
|
xtype: 'proxmoxtextfield',
|
||||||
|
name: 'firstname',
|
||||||
|
fieldLabel: gettext('First Name attribute'),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
xtype: 'proxmoxtextfield',
|
||||||
|
name: 'lastname',
|
||||||
|
fieldLabel: gettext('Last Name attribute'),
|
||||||
|
},
|
||||||
{
|
{
|
||||||
xtype: 'proxmoxtextfield',
|
xtype: 'proxmoxtextfield',
|
||||||
name: 'email',
|
name: 'email',
|
||||||
|
Loading…
Reference in New Issue
Block a user