--- /dev/null
+Ext.define('PBS.AccessControlPanel', {
+ extend: 'Ext.tab.Panel',
+ alias: 'widget.pbsAccessControlPanel',
+ mixins: ['Proxmox.Mixin.CBind'],
+
+ title: gettext('Access Control'),
+
+ border: false,
+ defaults: {
+ border: false,
+ },
+
+ items: [
+ {
+ xtype: 'pbsUserView',
+ title: gettext('User Management'),
+ itemId: 'users',
+ iconCls: 'fa fa-user',
+ },
+ {
+ xtype: 'pbsTokenView',
+ title: gettext('API Token'),
+ itemId: 'apitokens',
+ iconCls: 'fa fa-user-o',
+ },
+ {
+ xtype: 'pbsACLView',
+ title: gettext('Permissions'),
+ itemId: 'permissions',
+ iconCls: 'fa fa-unlock',
+ },
+ ],
+
+});
dashboard/RunningTasks.js \
dashboard/TaskSummary.js \
Utils.js \
+ AccessControlPanel.js \
ZFSList.js \
DirectoryList.js \
LoginView.js \
expanded: true,
children: [
{
- text: gettext('User Management'),
- iconCls: 'fa fa-user',
- path: 'pbsUserView',
- leaf: true,
- },
- {
- text: gettext('API Token'),
- iconCls: 'fa fa-user-o',
- path: 'pbsTokenView',
- leaf: true,
- },
- {
- text: gettext('Permissions'),
- iconCls: 'fa fa-unlock',
- path: 'pbsACLView',
+ text: gettext('Access Control'),
+ iconCls: 'fa fa-key',
+ path: 'pbsAccessControlPanel',
leaf: true,
},
{