From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id E299F1FF170 for ; Mon, 2 Sep 2024 10:05:46 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 98B733691C; Mon, 2 Sep 2024 10:05:50 +0200 (CEST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725209731; x=1725814531; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=aS0oWiprHZPzKvun4rSnzgITvsTt95npG152utv5x+w=; b=lM9u9xlkymurPWlzxyzKus2czEBRFtwTa8cyrKz1UBW2IHebpQi3vu7RAhIQwlI7fg Uv78sxYggQCgUzSVV8oJrI3CgJJ816jKHdG4QaZFN0gm8ZlogC3ojixPvx1Qms15WWFO xYlqA6fqChKm17n/FBd0EKThKu9sBioyicuy+A0go5bZik5ClaDJPmQK0jY0Bu0JOzRO Jfa4Zz73LAV74esXjStHq3BUz5wnzTkmY2Zccp/o5YCEzLWJQAlISUNYF1XY0SNoFO2S cYvEZTPq6U7tyDWQo7+BXsVy64Dvco4GUDgRqyoN3v5UtNxICp3bqs1/hCTNgfbuAErf q8wA== X-Gm-Message-State: AOJu0YwQErtxj2v0i+526zinkPL36RsMEvGZFHxWv22evnS/cHSrC3Tj rZjedsDibzoIXJi79BEfsRJGPYNyjonYhlkzdJVuZrEznF85p87vJNuV8g== X-Google-Smtp-Source: AGHT+IE8jndPuKZUuoqrS98KxMtERPm+NzokLznJmkmw37vhm+eV+seFI/snCjdCNBGwwPei1uko2Q== X-Received: by 2002:a05:690c:2c92:b0:6b1:2825:a3cd with SMTP id 00721157ae682-6d40f82a0c7mr62885617b3.35.1725209730684; Sun, 01 Sep 2024 09:55:30 -0700 (PDT) From: Thomas Skinner To: pve-devel@lists.proxmox.com Date: Sun, 1 Sep 2024 11:55:12 -0500 Message-Id: <20240901165512.687801-5-thomas@atskinner.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240901165512.687801-1-thomas@atskinner.net> References: <20240901165512.687801-1-thomas@atskinner.net> MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.001 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy FREEMAIL_FORGED_FROMDOMAIN 0.001 2nd level domains in From and EnvelopeFrom freemail headers are different FREEMAIL_FROM 0.001 Sender email is commonly abused enduser mail provider HEADER_FROM_DIFFERENT_DOMAINS 0.25 From and EnvelopeFrom 2nd level mail domains are different KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_DNSWL_NONE -0.0001 Sender listed at https://www.dnswl.org/, no trust RCVD_IN_MSPIKE_H2 -0.001 Average reputation (+2) SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - X-Mailman-Approved-At: Mon, 02 Sep 2024 10:05:47 +0200 Subject: [pve-devel] [PATCH manager 1/1] fix #4411: openid: add ui config for openid groups support X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Cc: Thomas Skinner Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" Signed-off-by: Thomas Skinner --- www/manager6/dc/AuthEditOpenId.js | 35 ++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/www/manager6/dc/AuthEditOpenId.js b/www/manager6/dc/AuthEditOpenId.js index 544c0de5..30ee050a 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: [ @@ -74,14 +84,23 @@ Ext.define('PVE.panel.OpenIDInputPanel', { }, { 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', @@ -111,6 +130,16 @@ Ext.define('PVE.panel.OpenIDInputPanel', { deleteEmpty: '{!isCreate}', }, }, + { + xtype: 'proxmoxtextfield', + name: 'groups-replace-character', + fieldLabel: gettext('Groups Replacement Character'), + emptyText: `${Proxmox.Utils.defaultText} '_'`, + submitEmpty: false, + cbind: { + deleteEmpty: '{!isCreate}', + }, + }, ], initComponent: function() { -- 2.39.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel