pmg-gui/js/UserManagement.js
Markus Frank 4b4f0125ed add realms panel to user management
Make the realm configuration available in PMG and disable LDAP/AD
realms for now and use the name oidc instead of openid.

Signed-off-by: Markus Frank <m.frank@proxmox.com>
2025-02-26 20:08:38 +01:00

47 lines
974 B
JavaScript

Ext.define('PMG.UserManagement', {
extend: 'Ext.tab.Panel',
alias: 'widget.pmgUserManagement',
title: gettext('Configuration') + ': ' +
gettext('User Management'),
border: false,
defaults: { border: false },
items: [
{
xtype: "pmgUserView",
title: gettext('Local'),
itemId: 'local',
iconCls: 'fa fa-user',
},
{
xtype: 'pmgTFAView',
title: 'Two Factor',
itemId: 'tfa',
iconCls: 'fa fa-key',
issuerName: `Proxmox Mail Gateway - ${Proxmox.NodeName}`,
},
{
xtype: 'pmgLDAPConfig',
title: 'LDAP',
itemId: 'ldap',
iconCls: 'fa fa-address-book-o',
},
{
xtype: 'pmgFetchmailView',
title: 'Fetchmail',
itemId: 'pop',
iconCls: 'fa fa-reply-all',
},
{
xtype: 'pmxAuthView',
title: gettext('Realms'),
itemId: 'realms',
baseUrl: '/access/auth-realm',
storeBaseUrl: '/access/auth-realm',
iconCls: 'fa fa-address-book-o',
},
],
});