api: replace auth_id with auth-id

in parameters, and fix up the completion for the ACL update parameter.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler
2020-10-30 15:18:41 +01:00
committed by Thomas Lamprecht
parent e4e280183e
commit 8b600f9965
8 changed files with 11 additions and 11 deletions

View File

@ -69,7 +69,7 @@ Ext.define('PBS.config.ACLView', {
'delete': 1,
path: rec.data.path,
role: rec.data.roleid,
auth_id: rec.data.ugid,
'auth-id': rec.data.ugid,
},
callback: function() {
me.reload();

View File

@ -109,7 +109,7 @@ Ext.define('PBS.config.TokenView', {
Ext.create('Proxmox.PermissionView', {
auth_id: selection[0].data.tokenid,
auth_id_name: 'auth_id',
auth_id_name: 'auth-id',
}).show();
},

View File

@ -72,7 +72,7 @@ Ext.define('PBS.config.UserView', {
Ext.create('Proxmox.PermissionView', {
auth_id: selection[0].data.userid,
auth_id_name: 'auth_id',
auth_id_name: 'auth-id',
}).show();
},