Skip to content

Commit 64b6405

Browse files
committed
fix: add showAll flag for permission group list
1 parent 5afdb55 commit 64b6405

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/Pages/GlobalConfigurations/Authorization/UserAndGroupPermissions.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ const UserAndGroupPermissions = () => {
4949
const { path } = useRouteMatch()
5050
const [isDataLoading, data, error, reload] = useAsync(() =>
5151
Promise.all([
52-
getPermissionGroupList(),
52+
// TODO (v3): Remove this from here and use type ahead search instead
53+
getPermissionGroupList({
54+
showAll: true,
55+
}),
5356
getProjectList(),
5457
getEnvironmentListMin(),
5558
serverMode === SERVER_MODE.EA_ONLY ? null : getChartGroups(),

src/Pages/GlobalConfigurations/Authorization/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ export type BaseFilterQueryParams<T> = {
9898
/**
9999
* Offset for the list result
100100
*/
101-
offset: number
101+
offset?: number
102102
/**
103103
* Number of items required in the list
104104
*/
105-
size: number
105+
size?: number
106106
/**
107107
* Search string (if any)
108108
*/

0 commit comments

Comments
 (0)