ui: datastore permissions: allow ACL path edit & query namespaces
Without namespaces this had not much use, but now that we can have permissions below we should allow so. For convenience also query the namsepaces here and add them to the list of available ACL paths, the read-dir shouldn't be that expensive (albeit, we could cache them in the frontend) Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
@ -39,6 +39,7 @@ Ext.define('PBS.config.ACLView', {
|
||||
Ext.create('PBS.window.ACLEdit', {
|
||||
path: view.aclPath,
|
||||
aclType: 'user',
|
||||
datastore: view.datastore,
|
||||
listeners: {
|
||||
destroy: () => me.reload(),
|
||||
},
|
||||
@ -51,6 +52,7 @@ Ext.define('PBS.config.ACLView', {
|
||||
Ext.create('PBS.window.ACLEdit', {
|
||||
path: view.aclPath,
|
||||
aclType: 'token',
|
||||
datastore: view.datastore,
|
||||
listeners: {
|
||||
destroy: () => me.reload(),
|
||||
},
|
||||
|
Reference in New Issue
Block a user