Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a filter option to view the users based on the user type #9932

Open
kiranchavala opened this issue Nov 15, 2024 · 0 comments
Open

Add a filter option to view the users based on the user type #9932

kiranchavala opened this issue Nov 15, 2024 · 0 comments

Comments

@kiranchavala
Copy link
Contributor

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

  1. Navigate to Account > view the account

  2. Navigate to Account > select a account >, View users

userview1

Screenshot 2024-11-15 at 1 14 57 PM

(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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants