ui: acls: include roleid into id and sort by it

this fixes missing acls on the gui

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2020-05-22 14:51:44 +02:00 committed by Dietmar Maurer
parent 5dcdcea293
commit bfa0146c00

View File

@ -5,7 +5,7 @@ Ext.define('pmx-acls', {
{ {
name: 'aclid', name: 'aclid',
calculate: function(data) { 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', type: 'diff',
autoDestroy: true, autoDestroy: true,
autoDestroyRstore: true, autoDestroyRstore: true,
sorters: 'userid', sorters: 'aclid',
rstore: { rstore: {
type: 'update', type: 'update',
storeid: 'pmx-acls', storeid: 'pmx-acls',