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

Improve getUserCountByRole() Method #3951

Merged
merged 13 commits into from
Apr 5, 2024

Conversation

dhaura
Copy link

@dhaura dhaura commented Mar 22, 2024

Purpose

  • The following improvements have been done to getUserCountByRole() method.
    • Rename the method to getUserCountByGroup()
    • Add recursive check to resolve user store.
    • Add new getUserListOfGroupWithID method to retrieve user list only for groups.
    • Add backward compatibility to retrieve user count when unique id feature is disabled.
    • Remove unused filter property.
    • Add unit tests.

Related Issues

Related PRs

@dhaura dhaura marked this pull request as draft March 22, 2024 11:34
…ser/core/common/AbstractUserStoreManager.java

Co-authored-by: Asha Sulaiman <165079T@uom.lk>
@dhaura dhaura marked this pull request as ready for review March 26, 2024 10:50
@CLAassistant
Copy link

CLAassistant commented Mar 29, 2024

CLA assistant check
All committers have signed the CLA.

@jenkins-is-staging
Copy link

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/8519952466

@jenkins-is-staging
Copy link

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/8519952466
Status: success

Copy link

@jenkins-is-staging jenkins-is-staging left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving the pull request based on the successful pr build https://github.com/wso2/product-is/actions/runs/8519952466

@jenkins-is-staging
Copy link

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/8548628261

@jenkins-is-staging
Copy link

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/8548628261
Status: failure

@jenkins-is-staging
Copy link

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/8549758450

@jenkins-is-staging
Copy link

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/8549758450
Status: success

Copy link

@jenkins-is-staging jenkins-is-staging left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving the pull request based on the successful pr build https://github.com/wso2/product-is/actions/runs/8549758450

@sumedhe sumedhe merged commit 27c14fd into wso2:4.10.x Apr 5, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants