Signed-off-by: Thomas Skinner <tho...@atskinner.net> --- www/manager6/dc/AuthEditOpenId.js | 34 ++++++++++++++++++++++++++++--- 1 file changed, 31 insertions(+), 3 deletions(-)
diff --git a/www/manager6/dc/AuthEditOpenId.js b/www/manager6/dc/AuthEditOpenId.js index 544c0de5..bf9c0ed4 100644 --- a/www/manager6/dc/AuthEditOpenId.js +++ b/www/manager6/dc/AuthEditOpenId.js @@ -40,6 +40,16 @@ Ext.define('PVE.panel.OpenIDInputPanel', { }, name: 'client-key', }, + { + xtype: 'proxmoxtextfield', + name: 'scopes', + fieldLabel: gettext('Scopes'), + emptyText: `${Proxmox.Utils.defaultText} (email profile)`, + submitEmpty: false, + cbind: { + deleteEmpty: '{!isCreate}', + }, + }, ], column2: [ @@ -72,16 +82,34 @@ Ext.define('PVE.panel.OpenIDInputPanel', { editable: '{isCreate}', }, }, + { + xtype: 'proxmoxcheckbox', + fieldLabel: gettext('Autocreate Groups'), + name: 'groups-autocreate', + value: 0, + cbind: { + deleteEmpty: '{!isCreate}', + }, + }, { xtype: 'proxmoxtextfield', - name: 'scopes', - fieldLabel: gettext('Scopes'), - emptyText: `${Proxmox.Utils.defaultText} (email profile)`, + name: 'groups-claim', + fieldLabel: gettext('Groups Claim'), + emptyText: `${Proxmox.Utils.defaultText} ${gettext('(none)')}`, submitEmpty: false, cbind: { deleteEmpty: '{!isCreate}', }, }, + { + xtype: 'proxmoxcheckbox', + fieldLabel: gettext('Overwrite Groups'), + name: 'groups-overwrite', + value: 0, + cbind: { + deleteEmpty: '{!isCreate}', + }, + }, { xtype: 'proxmoxKVComboBox', name: 'prompt', -- 2.39.5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel