From 49c090b97655cf1b845a270503bd6cbe75a48278 Mon Sep 17 00:00:00 2001 From: 007hacky007 <007hacky007@users.noreply.github.com> Date: Thu, 3 Nov 2022 12:15:05 +0100 Subject: [PATCH] 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 Reviewed-By: Carla Martinez --- install/ui/src/freeipa/group.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/install/ui/src/freeipa/group.js b/install/ui/src/freeipa/group.js index 61c19a82f..c54a72f01 100644 --- a/install/ui/src/freeipa/group.js +++ b/install/ui/src/freeipa/group.js @@ -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',