webui: Unify user group members columns with users columns

Adds 'givenname', 'sn' and 'nsaccountlock' columns to the user group members
and makes columns in the users view and user group members unified.
i.e. Makes easy to see disabled users in the group.

Fixes: https://pagure.io/freeipa/issue/9390
Reviewed-By: Michal Polovka <mpolovka@redhat.com>
Reviewed-By: Carla Martinez <carlmart@redhat.com>
This commit is contained in:
007hacky007
2022-11-03 12:15:05 +01:00
committed by Michal Polovka
parent 2c0fe1dd92
commit 49c090b976

View File

@@ -110,8 +110,19 @@ return {
{
$type: 'association',
name: 'member_user',
columns:[
row_disabled_attribute: 'nsaccountlock',
columns: [
'uid',
'givenname',
'sn',
{
name: 'nsaccountlock',
label: '@i18n:status.label',
formatter: {
$type: 'boolean_status',
invert_value: true
}
},
'uidnumber',
'mail',
'telephonenumber',