[pbs-devel] [PATCH proxmox-backup] fix #3934 tape owner-selector to Authid

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Mar 15 15:38:02 CET 2022


On 15.03.22 14:08, Markus Frank wrote:
> changed pmxUserSelector to pbsAuthidSelector, because it is currently
> not possible to restore with a api token via gui.
> 
> Signed-off-by: Markus Frank <m.frank at proxmox.com>
> ---
>  www/tape/window/TapeRestore.js | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/www/tape/window/TapeRestore.js b/www/tape/window/TapeRestore.js
> index 7a5d3cbf..2322d352 100644
> --- a/www/tape/window/TapeRestore.js
> +++ b/www/tape/window/TapeRestore.js
> @@ -398,10 +398,10 @@ Ext.define('PBS.TapeManagement.TapeRestoreWindow', {
>  			    renderer: Ext.String.htmlEncode,
>  			},
>  			{
> -			    xtype: 'pmxUserSelector',
> +			    xtype: 'pbsAuthidSelector',
>  			    name: 'owner',
>  			    fieldLabel: gettext('Owner'),
> -			    emptyText: gettext('Current User'),
> +			    emptyText: gettext('Current Authentication'),

We do not use "Authentication" in any gettext currently, besides indirectly in TFA,
and for that specific use case we agreed on using "Auth ID", so can you please change
it to that in a v2?

>  			    value: null,
>  			    allowBlank: true,
>  			    skipEmptyText: true,





More information about the pbs-devel mailing list