File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -445,6 +445,13 @@ export default {
445
445
this .fields [apiKeyAccessIndex].loading = false
446
446
}
447
447
448
+ if (arrayField .includes (' usersource' )) {
449
+ const userSourceIndex = this .fields .findIndex (item => item .name === ' usersource' )
450
+ this .fields [userSourceIndex].loading = true
451
+ this .fields [userSourceIndex].opts = this .fetchAvailableUserSourceTypes ()
452
+ this .fields [userSourceIndex].loading = false
453
+ }
454
+
448
455
if (arrayField .includes (' arch' )) {
449
456
const typeIndex = this .fields .findIndex (item => item .name === ' arch' )
450
457
this .fields [typeIndex].loading = true
@@ -1309,6 +1316,26 @@ export default {
1309
1316
})
1310
1317
})
1311
1318
},
1319
+ fetchAvailableUserSourceTypes () {
1320
+ return [
1321
+ {
1322
+ id: ' native' ,
1323
+ name: ' label.native'
1324
+ },
1325
+ {
1326
+ id: ' saml2' ,
1327
+ name: ' label.saml'
1328
+ },
1329
+ {
1330
+ id: ' saml2disabled' ,
1331
+ name: ' label.saml.disabled'
1332
+ },
1333
+ {
1334
+ id: ' ldap' ,
1335
+ name: ' label.ldap'
1336
+ }
1337
+ ]
1338
+ },
1312
1339
onSearch (value ) {
1313
1340
this .paramsFilter = {}
1314
1341
this .searchQuery = value
You can’t perform that action at this time.
0 commit comments