You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Will sort by updated_dated, page = 1, page size = 50
with pagination: /access-control-privileges?{application_id}&page={pageNumber}&size={pageSize}
if one of them is missing, then use the default values, e.g. if page number is 1 and no pageSize is provided, then use the default 50 for pageSize
with Sort /access_control_privileges?{application_id}&sortBy={columnName}
should reject a call if an invalid column name is provided, 400 Bad request
default page number and page size should apply if not present
with Search /access-control-privileges?{application_id}&search={keyWord}
should be able to encode and decode search string, e.g. a space would be %20
default page number and page size should apply if not present
maintain the current privileges
should return an x-total-count header
return an Empty list [] if there's no hit
Acceptance Criteria
[ ] An x-total-count header
A page number that starts with 1 defaulted to 1, a page size defaulted to 50, with a max limit of 100 items per page.
Sort by columns, default sort by username create_date, should be able to sort by all columns
Search by keyword on columns [ username, full name, email, client number, Role display_name]
Make a PR to a feature branch
Additional Context
We will be adding forest client name to this endpoint later.
This will break frontend's user table if deployed, so it should be deployed to a feature branch, the feature branch will be merged to main once frontend is ready
The text was updated successfully, but these errors were encountered:
Description
Paginate the results displayed on the Delegated Admin table
Endpoint design:
/access_control_privileges?{application_id}
to/access-control-privileges?{application_id}
/access_control_privileges/{access_control_privilege_id}
toaccess-control-privileges/{access-control-privilege-id}
/access-control-privileges?{application_id}
updated_dated
, page = 1, page size = 50/access-control-privileges?{application_id}&page={pageNumber}&size={pageSize}
/access_control_privileges?{application_id}&sortBy={columnName}
/access-control-privileges?{application_id}&search={keyWord}
x-total-count
header[]
if there's no hitAcceptance Criteria
[ ] Anx-total-count
headerusernamecreate_date, should be able to sort by all columnsAdditional Context
We will be adding forest client name to this endpoint later.
This will break frontend's user table if deployed, so it should be deployed to a feature branch, the feature branch will be merged to
main
once frontend is readyThe text was updated successfully, but these errors were encountered: