vishesh92 commented on code in PR #13950:
URL: https://github.com/apache/cloudstack/pull/13950#discussion_r3949113965


##########
ui/src/config/section/account.js:
##########
@@ -121,6 +121,31 @@ export default {
       },
       component: shallowRef(defineAsyncComponent(() => 
import('@/views/iam/AddLdapAccount.vue')))
     },
+    {
+      api: 'linkAccountToLdap',
+      icon: 'LinkOutlined',
+      label: 'label.link.account.to.ldap',
+      docHelp: 
'adminguide/accounts.html#using-an-ldap-server-for-user-authentication',
+      dataView: true,
+      show: (record, store) => {
+        return store.isLdapEnabled
+      },
+      args: ['type', 'domainid', 'ldapdomain', 'account', 'accounttype', 
'roleid', 'admin'],
+      mapping: {
+        type: {
+          options: ['GROUP', 'OU']
+        },
+        accounttype: {
+          options: ['0', '2']

Review Comment:
   0 & 2 is confusing for the end user.
   <img width="1174" height="1092" alt="Image" 
src="https://github.com/user-attachments/assets/eee8592c-fe4a-4fdd-ba81-a1e0e868a179";
 />
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to