]> git.proxmox.com Git - proxmox-widget-toolkit.git/blame - src/Schema.js
toolkit: add NotesView panel and NotesEdit window
[proxmox-widget-toolkit.git] / src / Schema.js
CommitLineData
5c085daf
TL
1Ext.define('Proxmox.Schema', { // a singleton
2 singleton: true,
3
4 authDomains: {
5 pam: {
6 name: 'Linux PAM',
7 add: false,
8 edit: false,
9 pwchange: true,
10 },
11 openid: {
12 name: gettext('OpenID Connect Server'),
13 ipanel: 'pmxAuthOpenIDPanel',
14 add: true,
15 edit: true,
16 tfa: false,
17 pwchange: false,
18 iconCls: 'pmx-itype-icon-openid-logo',
19 },
20 },
21 // to add or change existing for product specific ones
22 overrideAuthDomains: function(extra) {
23 for (const [key, value] of Object.entries(extra)) {
2908d358 24 Proxmox.Schema.authDomains[key] = value;
5c085daf
TL
25 }
26 },
27});