]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
ui: OpenID realm: allow to edit scopes
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 19 Nov 2021 06:36:19 +0000 (07:36 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 19 Nov 2021 06:36:19 +0000 (07:36 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/window/AuthEditOpenId.js

index ee2821c615fddc130aa0efc9b0b01016ba94b3a6..12a5c009c121cd0f818429914581a572773728fc 100644 (file)
@@ -81,6 +81,16 @@ Ext.define('Proxmox.panel.OpenIDInputPanel', {
                editable: '{isCreate}',
            },
        },
+       {
+           xtype: 'proxmoxtextfield',
+           name: 'scopes',
+           fieldLabel: gettext('Scopes'),
+           emptyText: `${Proxmox.Utils.defaultText} (email profile)`,
+           submitEmpty: false,
+           cbind: {
+               deleteEmpty: '{!isCreate}',
+           },
+       },
     ],
 
     columnB: [