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 CC48D1FF168 for ; Tue, 24 Dec 2024 21:25:10 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 0EBE318E5A; Tue, 24 Dec 2024 21:25:06 +0100 (CET) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735071896; x=1735676696; 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=q+GPgkvIbRjW1iH10D+5DiQaJBplRjS8gjb6BevAzoM=; b=lU9FLQEqWu01hOavn+JU9LR9GFmiae1L6bSMWtdzjxEcU9bl6VnltYdqkyZnSk7P2C cRKjce48UQRLpRsKQ21i6C9O2hqHEBE6ULCOJBDP7rEI4e+w30VcAIQ5dIU0/89OC2WM aQaq0vU1DYljFUm4xNvdbbf4cDZ5mXz3XqKFknLUHljWNzNmoFiu2ZpZLYeLIA/OITTb +kU61EAdOfDBwVoek98lwkl1FBQ4Y4fmeUJETHVnW1SGAGW/rZ3geuX6REwDl8v2gSxQ veIUlkE/AQGzN1ZZd+TL7T5Z/RsY9qhq/kvNSKFSktgfBROzSwqF7CtAXl23Kfb6vTuj MYdw== X-Gm-Message-State: AOJu0YxfELEuerQorg3eEmnyjVFzv19TCWuzwNMrZhqjJSbSxant/ohM nMJgxhT1blzf2WU8MUIewvv1kWQm+frO8XaRnWBt8orWJx6+xkPZ0rim3w== X-Gm-Gg: ASbGncvBkiQR9UOQomx+sJZ/VGwImdrcJNSWhyVQZIwkVobLVyWsfU8WwW1e9tbVDWw RGvKtr7jR2LsxwaH3deWCFaATYBcxAqEIhf0GFbsSSv8tSXcQysKNJ1XiB44rvV6qRlI4FnC000 IDyaSWNA1jAtC4eb7+TEQ8G+ahXTJxyHvKZ2YFcBlMcNWLBzH93sHQ5m4kMJoWWOhgb6ipCtYkz QNVP6d9enUMcMg7aedxfkknh8D1GcJxy/zoutTMI0mK50KSo/TZ38A7sVvvl6zEUmWmM/HKLRZA JpF3I8ehHoPh2IMvqfNfgqT1YpzsBFXO1EUFRO31/o5lKKappGjYczqH0sxh5emIMdxwag== X-Google-Smtp-Source: AGHT+IH1wJZNis7QV02fxI8UX2jtrHU5Jlc8rM/mMsOIBaGm1/GXQbX62gsV4CM8DAAhfPAeRrtTfw== X-Received: by 2002:a05:6902:1690:b0:e4d:d319:b9d with SMTP id 3f1490d57ef6-e538c25c734mr14313804276.16.1735071896391; Tue, 24 Dec 2024 12:24:56 -0800 (PST) From: Thomas Skinner To: pve-devel@lists.proxmox.com Date: Tue, 24 Dec 2024 14:24:29 -0600 Message-Id: <20241224202429.3072813-5-thomas@atskinner.net> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241224202429.3072813-1-thomas@atskinner.net> References: <20241224202429.3072813-1-thomas@atskinner.net> MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL -0.076 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.156 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 Subject: [pve-devel] [PATCH manager v2 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 | 44 ++++++++++++++++++++++++++++--- 1 file changed, 41 insertions(+), 3 deletions(-) diff --git a/www/manager6/dc/AuthEditOpenId.js b/www/manager6/dc/AuthEditOpenId.js index 544c0de5..7a578c36 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', @@ -111,6 +139,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.5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel