From bfa0146c000139b6439fb004dca738a73d0a2ccc Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Fri, 22 May 2020 14:51:44 +0200 Subject: [PATCH] ui: acls: include roleid into id and sort by it this fixes missing acls on the gui Signed-off-by: Dominik Csapak --- www/config/ACLView.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/config/ACLView.js b/www/config/ACLView.js index 3a40aef2..2e0fd83f 100644 --- a/www/config/ACLView.js +++ b/www/config/ACLView.js @@ -5,7 +5,7 @@ Ext.define('pmx-acls', { { name: 'aclid', calculate: function(data) { - return `${data.path} for ${data.ugid}`; + return `${data.path} for ${data.ugid} - ${data.roleid}`; }, }, ], @@ -84,7 +84,7 @@ Ext.define('PBS.config.ACLView', { type: 'diff', autoDestroy: true, autoDestroyRstore: true, - sorters: 'userid', + sorters: 'aclid', rstore: { type: 'update', storeid: 'pmx-acls',