Skip to content

Commit

Permalink
Merge pull request wso2#4804 from pavinduLakshan/is_18034_exclude_grp…
Browse files Browse the repository at this point in the history
…s_roles_from_users_page
  • Loading branch information
pavinduLakshan authored Nov 28, 2023
2 parents e04e21f + fea9ae1 commit 3e7cd93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/blue-trees-wink.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wso2is/console": patch
---

Exclude groups and roles from the user list request in Users page
3 changes: 1 addition & 2 deletions apps/console/src/features/users/pages/users.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ const UsersPage: FunctionComponent<UsersPageInterface> = (

const modifiedLimit : number = limit + TEMP_RESOURCE_LIST_ITEM_LIMIT_OFFSET;

getUsersList(modifiedLimit, offset, filter, attribute, domain)
getUsersList(modifiedLimit, offset, filter, attribute, domain, "groups,roles")
.then((response: UserListInterface) => {
const data: UserListInterface = { ...response };

Expand Down Expand Up @@ -769,7 +769,6 @@ const UsersPage: FunctionComponent<UsersPageInterface> = (
}
];


const handleDropdownItemChange = (value: string): void => {
if (value === UserAccountTypesMain.EXTERNAL) {
eventPublisher.publish("manage-users-click-create-new", {
Expand Down

0 comments on commit 3e7cd93

Please sign in to comment.