ecbc385b7b
so that user can add/edit/delete realms changes the icon of tfa to 'id-badge' so that we can keep the same icon for authentication as pve and not have duplicate icons Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
49 lines
959 B
JavaScript
49 lines
959 B
JavaScript
Ext.define('PBS.AccessControlPanel', {
|
|
extend: 'Ext.tab.Panel',
|
|
alias: 'widget.pbsAccessControlPanel',
|
|
mixins: ['Proxmox.Mixin.CBind'],
|
|
|
|
title: gettext('Access Control'),
|
|
|
|
tools: [PBS.Utils.get_help_tool("user-mgmt")],
|
|
|
|
border: false,
|
|
defaults: {
|
|
border: false,
|
|
},
|
|
|
|
items: [
|
|
{
|
|
xtype: 'pbsUserView',
|
|
title: gettext('User Management'),
|
|
itemId: 'users',
|
|
iconCls: 'fa fa-user',
|
|
},
|
|
{
|
|
xtype: 'pbsTfaView',
|
|
title: gettext('Two Factor Authentication'),
|
|
itemId: 'tfa',
|
|
iconCls: 'fa fa-id-badge',
|
|
},
|
|
{
|
|
xtype: 'pbsTokenView',
|
|
title: gettext('API Token'),
|
|
itemId: 'apitokens',
|
|
iconCls: 'fa fa-user-o',
|
|
},
|
|
{
|
|
xtype: 'pbsACLView',
|
|
title: gettext('Permissions'),
|
|
itemId: 'permissions',
|
|
iconCls: 'fa fa-unlock',
|
|
},
|
|
{
|
|
xtype: 'pmxAuthView',
|
|
title: gettext('Authentication'),
|
|
itemId: 'domains',
|
|
iconCls: 'fa fa-key',
|
|
},
|
|
],
|
|
|
|
});
|