News for hackers. Stuff that matters.
Re:Ask HN: How did you solve the pagination in role based ac... by viovanov on Wednesday February 09, 2022 @12:52PM (#30275679)
if you use something like OPA, it has partial evaluation [1], which would allow you to read in data, filter it based on your RBAC policy quickly until you have a pageful, then return to the caller together with some next page token that lets you remember where you left off.

[1] https://blog.openpolicyagent.org/partial-evaluation-162750ea...

Re:Ask HN: How did you solve the pagination in role based ac... by viovanov on Wednesday February 09, 2022 @12:53PM (#30275700)
We're working on support for partial evaluation in our system at Aserto https://aserto.com/