[pve-devel] [PATCH v5 pve-manager 20/30] ui: perm path: add ACL paths for notifications, usb and pci mappings

Lukas Wagner l.wagner at proxmox.com
Wed Jul 26 11:49:52 CEST 2023


Suggested-by: Dominik Csapak <d.csapak at proxmox.com>
Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
---

Notes:
    In future, we could create a new API endpoint that returns all possible ACL
    and then use a normal store for the perm path combobox?
    
    Changes since v3:
      - Removed API calls that fetch targets/filters, instead
        add static paths.

 www/manager6/data/PermPathStore.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/www/manager6/data/PermPathStore.js b/www/manager6/data/PermPathStore.js
index c3ac7f0e..64ab2f03 100644
--- a/www/manager6/data/PermPathStore.js
+++ b/www/manager6/data/PermPathStore.js
@@ -9,6 +9,9 @@ Ext.define('PVE.data.PermPathStore', {
 	{ 'value': '/access/groups' },
 	{ 'value': '/access/realm' },
 	{ 'value': '/mapping' },
+	{ 'value': '/mapping/notification' },
+	{ 'value': '/mapping/pci' },
+	{ 'value': '/mapping/usb' },
 	{ 'value': '/nodes' },
 	{ 'value': '/pool' },
 	{ 'value': '/sdn/zones' },
-- 
2.39.2






More information about the pve-devel mailing list