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:
committed by
Thomas Lamprecht
parent
e4e280183e
commit
8b600f9965
@ -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();
|
||||
|
@ -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();
|
||||
},
|
||||
|
||||
|
@ -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();
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user