News for hackers. Stuff that matters.
Re:Show HN: Open-source IAM Ory Kratos v1.0 with Passkeys, M... by eximius on Thursday July 13, 2023 @05:51PM (#36716557)
When I had to do this in the past for access control and compliance reasons, it was easy to just layer them. If you have a) fast search b) fast authorization, you can just do filter(lambda resource: can_read(resource, user), search(query)). There is some tuning necessary involved with pagination and such as you effectively have 2 paginations to maintain (one for user facing, one for your index which will included pruned resources).

There are no comments on this comment yet.