You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "kiranchavala (via GitHub)" <gi...@apache.org> on 2024/11/15 08:30:34 UTC

[I] Add a filter option to view the users based on the user type [cloudstack]

kiranchavala opened a new issue, #9932:
URL: https://github.com/apache/cloudstack/issues/9932

   ISSUE TYPE
   
   Improvement request
   
   COMPONENT NAME
   
   Component: Improvement, UI
   
   CLOUDSTACK VERSION
   
   Cloudstack version 4.19.1.x
   
   SUMMARY
   
   Add a filter option to view the users based on the user type
   
   Steps to reproduce the issue
   
   1.  Have a cloudstack environment with Ldap and saml enabled 
   
   2.  Make sure the ldap user and saml users are imported
   
   3.  Currently the list account and  list users API's supports  provides the parameter "usersource" as response through which the admin can identify the user type
   
   https://cloudstack.apache.org/api/apidocs-4.19/apis/listAccounts.html
   https://cloudstack.apache.org/api/apidocs-4.19/apis/listUsers.html
   
   Currently there is no way to identify the usersource from the UI 
   
   4. Navigate to Account > view the account
   
   
   4. Navigate to Account  > select a account >, View users 
   
   ![userview1](https://github.com/user-attachments/assets/cedaedce-14d3-4a0b-b118-a0e2fce91ff8)
   
   ![Screenshot 2024-11-15 at 1 14 57 PM](https://github.com/user-attachments/assets/78363294-5a3c-455b-af5b-98c312f7a105)
   
   
   
   ```
   (localcloud) 🐱 > list users filter=username,usersource listall=true
   {
     "count": 7,
     "user": [
       {
         "username": "admin",
         "usersource": "native"
       },
       {
         "username": "baremetal-system-account",
         "usersource": "native"
       },
       {
         "username": "user",
         "usersource": "saml2disabled"
       },
       {
         "username": "admin-kubeadmin",
         "usersource": "native"
       },
       {
         "username": "kiran2",
         "usersource": "ldap"
       },
       {
         "username": "user1@example.com",
         "usersource": "saml2"
       },
       {
         "username": "user2@example.com",
         "usersource": "saml2"
       }
     ]
     
   ```
     
   
   Expected behaviour 
   
   Admin should be able to identify the usersource of a account or a user
   
   
   
   
   


-- 
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: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add a filter option to view the users based on the user type [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland closed issue #9932: Add a filter option to view the users based on the user type
URL: https://github.com/apache/cloudstack/issues/9932


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org