diff --git a/ui/src/config/section/account.js b/ui/src/config/section/account.js index f4655235f1c..6c973d92211 100644 --- a/ui/src/config/section/account.js +++ b/ui/src/config/section/account.js @@ -54,7 +54,8 @@ export default { icon: 'plus', label: 'label.add.account', listView: true, - args: ['username', 'password', 'confirmpassword', 'email', 'firstname', 'lastname', 'domainid', 'account', 'roleid', 'timezone', 'networkdomain'] + popup: true, + component: () => import('@/views/iam/AddAccount.vue') }, { api: 'ldapCreateAccount', diff --git a/ui/src/config/section/user.js b/ui/src/config/section/user.js index 689b2299684..176e36f219c 100644 --- a/ui/src/config/section/user.js +++ b/ui/src/config/section/user.js @@ -70,6 +70,14 @@ export default { dataView: true, show: (record) => { return record.state === 'enabled' } }, + { + api: 'authorizeSamlSso', + icon: 'form', + label: 'Configure SAML SSO Authorization', + dataView: true, + popup: true, + component: () => import('@/views/iam/ConfigureSamlSsoAuth.vue') + }, { api: 'deleteUser', icon: 'delete', diff --git a/ui/src/locales/en.json b/ui/src/locales/en.json index 7008ce0e8cf..9626d59e3a8 100644 --- a/ui/src/locales/en.json +++ b/ui/src/locales/en.json @@ -1659,6 +1659,8 @@ "label.rule.number": "Rule Number", "label.rules": "Rules", "label.running": "Running VMs", +"label.saml.disable": "SAML Disable", +"label.saml.enable": "SAML Enable", "label.s3.access.key": "Access Key", "label.s3.bucket": "Bucket", "label.s3.connection.timeout": "Connection Timeout", diff --git a/ui/src/views/iam/AddAccount.vue b/ui/src/views/iam/AddAccount.vue new file mode 100644 index 00000000000..2c9130d00fd --- /dev/null +++ b/ui/src/views/iam/AddAccount.vue @@ -0,0 +1,419 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + + + + diff --git a/ui/src/views/iam/AddLdapAccount.vue b/ui/src/views/iam/AddLdapAccount.vue index ce91f0ceff0..e41c11a7de7 100644 --- a/ui/src/views/iam/AddLdapAccount.vue +++ b/ui/src/views/iam/AddLdapAccount.vue @@ -112,6 +112,25 @@ :placeholder="apiParams.group.description" /> +
+ + + + + + + {{ idp.orgName }} + + + +
+