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:
		
				
					committed by
					
						 Dietmar Maurer
						Dietmar Maurer
					
				
			
			
				
	
			
			
			
						parent
						
							5dcdcea293
						
					
				
				
					commit
					bfa0146c00
				
			| @ -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', | ||||
|  | ||||
		Reference in New Issue
	
	Block a user