To get a fast overview in which groups each user is add a column that
shows all groups they are a member of.
To get that info we need to pass the 'full=1' parameter to the API
endpoint, which then adds tokens and groups for each user to the result.
This is basically only increasing transmission size a bit, as the
backend doesn't needs to do any extra parsing for this information.
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
[T: Reword commit message ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
},
dataIndex: 'keys',
},
+ {
+ header: gettext('Groups'),
+ dataIndex: 'groups',
+ renderer: Ext.htmlEncode,
+ flex: 1,
+ },
{
header: gettext('Comment'),
sortable: false,
],
proxy: {
type: 'proxmox',
- url: "/api2/json/access/users",
+ url: "/api2/json/access/users?full=1",
},
idProperty: 'userid',
});