influxdata / influxdata/influxdb

Tenant User List Action Pagination

Open
#18,432 1 comment 0 reactions 1 assignee Claimed by @lyondhill View on GitHub
team/compute
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

The new tenant user service enforces a page limit, but does not support configuring that limit via the usual `limit` query parameter.

The tenant storage `ListUsers` enforces a default page size of 20. But as this is not parsed from the request URL parameters, `20` is always enforced:

Default enforced here:
https://github.com/influxdata/influxdb/blob/1d75e3e8e9d7b4176e5e68c0dfa451eb48d60fcc/tenant/storage_user.go#L111-L113

Need to add `limit` support to:
https://github.com/influxdata/influxdb/blob/1d75e3e8e9d7b4176e5e68c0dfa451eb48d60fcc/tenant/http_server_user.go#L397-L414

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.