mirror of
https://git.proxmox.com/git/pmg-gui
synced 2025-08-13 03:44:10 +00:00

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>
47 lines
974 B
JavaScript
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',
|
|
},
|
|
],
|
|
});
|