Skip to content

API: Application Pagination only works when user is superuser and { superuser_full_list: true } is passed to the API #9093

@kensternberg-authentik

Description

@kensternberg-authentik

Describe the bug

This works:

/api/v3/core/applications/?ordering=name&page=7&page_size=20&search=&superuser_full_list=true

This does not:

/api/v3/core/applications/?ordering=name&page=7&page_size=20&search=

If you pass a page request and do not set superuser_full_list or you are not an admin user, you will always only get the first page of results from the Application API for authentik.

Expected behavior

The page= argument should be respected by the API under all circumstances.

Version and Deployment (please complete the following information):

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingbug/confirmedConfirmed bugs

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions