[pve-devel] [PATCH v4 manager 13/18] ui: include "SuperUser" in privilege selector

Oguz Bektas o.bektas at proxmox.com
Thu Jun 2 09:24:45 CEST 2022


only the 'SuperAdministrator' role has full privileges including SU,
that's why we use that role to generate all the privileges.

Signed-off-by: Oguz Bektas <o.bektas at proxmox.com>
---
 www/manager6/form/PrivilegesSelector.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/form/PrivilegesSelector.js b/www/manager6/form/PrivilegesSelector.js
index a2427c36..5494e7c2 100644
--- a/www/manager6/form/PrivilegesSelector.js
+++ b/www/manager6/form/PrivilegesSelector.js
@@ -10,7 +10,7 @@ Ext.define('PVE.form.PrivilegesSelector', {
 	me.callParent();
 
 	Proxmox.Utils.API2Request({
-	    url: '/access/roles/Administrator',
+	    url: '/access/roles/SuperAdministrator',
 	    method: 'GET',
 	    success: function(response, options) {
 		let data = Object.keys(response.result.data).map(key => [key, key]);
-- 
2.30.2





More information about the pve-devel mailing list