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
No known key found for this signature in database
GPG Key ID: 4934889DC424FE12

View File

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