Skip to content

Commit 2af61a2

Browse files
Pearl1594Pearl Dsilvashwstppryadvrdavidjumani
committed
iam: account form with saml option (#170)
- New accounts form with option to enable SAML when applicable - LDAP import form with saml support - SAML authorisation action form for users Co-authored-by: Pearl Dsilva <[email protected]> Co-authored-by: Abhishek Kumar <[email protected]> Co-authored-by: Rohit Yadav <[email protected]> Co-authored-by: davidjumani <[email protected]> Signed-off-by: Rohit Yadav <[email protected]>
1 parent a8c9f2a commit 2af61a2

File tree

6 files changed

+619
-13
lines changed

6 files changed

+619
-13
lines changed

ui/src/config/section/account.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ export default {
5454
icon: 'plus',
5555
label: 'label.add.account',
5656
listView: true,
57-
args: ['username', 'password', 'confirmpassword', 'email', 'firstname', 'lastname', 'domainid', 'account', 'roleid', 'timezone', 'networkdomain']
57+
popup: true,
58+
component: () => import('@/views/iam/AddAccount.vue')
5859
},
5960
{
6061
api: 'ldapCreateAccount',

ui/src/config/section/user.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,14 @@ export default {
7070
dataView: true,
7171
show: (record) => { return record.state === 'enabled' }
7272
},
73+
{
74+
api: 'authorizeSamlSso',
75+
icon: 'form',
76+
label: 'Configure SAML SSO Authorization',
77+
dataView: true,
78+
popup: true,
79+
component: () => import('@/views/iam/ConfigureSamlSsoAuth.vue')
80+
},
7381
{
7482
api: 'deleteUser',
7583
icon: 'delete',

ui/src/locales/en.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1659,6 +1659,8 @@
16591659
"label.rule.number": "Rule Number",
16601660
"label.rules": "Rules",
16611661
"label.running": "Running VMs",
1662+
"label.saml.disable": "SAML Disable",
1663+
"label.saml.enable": "SAML Enable",
16621664
"label.s3.access.key": "Access Key",
16631665
"label.s3.bucket": "Bucket",
16641666
"label.s3.connection.timeout": "Connection Timeout",

0 commit comments

Comments
 (0)