353dcf1d13
Moving icons around is not to ideal for people accustomed to the old ones, at least if they are used for a new component on the same view. Rather use the address-book icon, which is also used for adding a new realm in PVE, we can rather switch over PVE to that and the text "Realms", as that is also the label one sees when logging in, so a better fit to keep that consistent. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
49 lines
957 B
JavaScript
49 lines
957 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-key',
|
|
},
|
|
{
|
|
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('Realms'),
|
|
itemId: 'domains',
|
|
iconCls: 'fa fa-address-book-o',
|
|
},
|
|
],
|
|
|
|
});
|