Skip to content

Efficient Permission-Aware Listing (Pagination, Search, Sorting) #2681

Description

@mohammadlashkari

Is your feature request related to a problem? Please describe.
When integrating Permify into listing APIs, it becomes difficult to efficiently handle pagination, search, and sorting.
Users may have access to very large datasets, and neither post-filtering nor pre-filtering scales well.

Describe the solution you'd like
A built-in feature similar to “materialized permissions,” where Permify maintains incrementally updated permission results.
This would allow applications to combine permission data with database-level pagination, search, and sorting for fast listing responses.

Describe alternatives you've considered

  • Post-filtering / Pre-filtering → Does not scale for large datasets and cannot support efficient sorting or pagination.
  • Maintaining a custom mirrored dataset through the Watch API → works but requires significant engineering effort.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions