ui: acl: add improved permission selector
taken mostly from PVE, with adaption to how PBS does things. Main difference is that we do not have a resource store singleton here which we can use, but for datastores we can already use the always present datastore-list store. Register it to the store manager with a "storeId" property (vs. our internal storeid one). Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
@ -7,6 +7,7 @@ Ext.define('PBS.window.ACLEdit', {
|
||||
method: 'PUT',
|
||||
isAdd: true,
|
||||
isCreate: true,
|
||||
width: 450,
|
||||
|
||||
// caller can give a static path
|
||||
path: undefined,
|
||||
@ -25,7 +26,7 @@ Ext.define('PBS.window.ACLEdit', {
|
||||
|
||||
items: [
|
||||
{
|
||||
xtype: 'pmxDisplayEditField',
|
||||
xtype: 'pbsPermissionPathSelector',
|
||||
fieldLabel: gettext('Path'),
|
||||
cbind: {
|
||||
editable: '{!path}',
|
||||
|
Reference in New Issue
Block a user