Skip to content

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

@kiranchavala

Description

@kiranchavala

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

Metadata

Metadata

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions