mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 08:44:10 +02:00
LdapUserGroupBackendForm: Add missing form field..
..to configure the group_member_attribute option. fixes #9903
This commit is contained in:
parent
656e5aad01
commit
2e7f3b941c
@ -177,13 +177,25 @@ class LdapUserGroupBackendForm extends Form
|
|||||||
'preserveDefault' => true,
|
'preserveDefault' => true,
|
||||||
'ignore' => $disabled,
|
'ignore' => $disabled,
|
||||||
'disabled' => $disabled,
|
'disabled' => $disabled,
|
||||||
'label' => $this->translate('LDAP Group Name Attribute'),
|
'label' => $this->translate('LDAP Group Name Attribute'),
|
||||||
'description' => $this->translate(
|
'description' => $this->translate(
|
||||||
'The attribute name used for storing a group\'s name on the LDAP server.'
|
'The attribute name used for storing a group\'s name on the LDAP server.'
|
||||||
),
|
),
|
||||||
'value' => $defaults->group_name_attribute
|
'value' => $defaults->group_name_attribute
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
$this->addElement(
|
||||||
|
'text',
|
||||||
|
'group_member_attribute',
|
||||||
|
array(
|
||||||
|
'preserveDefault' => true,
|
||||||
|
'ignore' => $disabled,
|
||||||
|
'disabled' => $disabled,
|
||||||
|
'label' => $this->translate('LDAP Group Member Attribute'),
|
||||||
|
'description' => $this->translate('The attribute name used for storing a group\'s members.'),
|
||||||
|
'value' => $defaults->group_member_attribute
|
||||||
|
)
|
||||||
|
);
|
||||||
$this->addElement(
|
$this->addElement(
|
||||||
'text',
|
'text',
|
||||||
'base_dn',
|
'base_dn',
|
||||||
@ -258,7 +270,7 @@ class LdapUserGroupBackendForm extends Form
|
|||||||
'preserveDefault' => true,
|
'preserveDefault' => true,
|
||||||
'ignore' => $disabled,
|
'ignore' => $disabled,
|
||||||
'disabled' => $disabled,
|
'disabled' => $disabled,
|
||||||
'label' => $this->translate('LDAP User Name Attribute'),
|
'label' => $this->translate('LDAP User Name Attribute'),
|
||||||
'description' => $this->translate(
|
'description' => $this->translate(
|
||||||
'The attribute name used for storing a user\'s name on the LDAP server.'
|
'The attribute name used for storing a user\'s name on the LDAP server.'
|
||||||
),
|
),
|
||||||
|
@ -153,6 +153,10 @@ class UserGroupStep extends Step
|
|||||||
. '<td><strong>' . mt('setup', 'Group Name Attribute') . '</strong></td>'
|
. '<td><strong>' . mt('setup', 'Group Name Attribute') . '</strong></td>'
|
||||||
. '<td>' . $this->data['groupConfig']['group_name_attribute'] . '</td>'
|
. '<td>' . $this->data['groupConfig']['group_name_attribute'] . '</td>'
|
||||||
. '</tr>'
|
. '</tr>'
|
||||||
|
. '<tr>'
|
||||||
|
. '<td><strong>' . mt('setup', 'Group Member Attribute') . '</strong></td>'
|
||||||
|
. '<td>' . $this->data['groupConfig']['group_member_attribute'] . '</td>'
|
||||||
|
. '</tr>'
|
||||||
. '</tbody>'
|
. '</tbody>'
|
||||||
. '</table>';
|
. '</table>';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user