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 {
445445 this .fields [apiKeyAccessIndex].loading = false
446446 }
447447
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+
448455 if (arrayField .includes (' arch' )) {
449456 const typeIndex = this .fields .findIndex (item => item .name === ' arch' )
450457 this .fields [typeIndex].loading = true
@@ -1309,6 +1316,26 @@ export default {
13091316 })
13101317 })
13111318 },
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+ },
13121339 onSearch (value ) {
13131340 this .paramsFilter = {}
13141341 this .searchQuery = value
You can’t perform that action at this time.
0 commit comments