permify icon indicating copy to clipboard operation
permify copied to clipboard

Allow filtering by attributes/relations on permissions/lookup-entity

Open michelkaeser opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe. When looking up entities via https://docs.permify.co/docs/api-overview/permission/lookup-entity/ this allows filtering via the subject. In case the result could be huge, it would help if the returned entities can be further limited by providing additional filters on the attributes or relations.

Describe the solution you'd like I imagine passing additional filter parameters should be possible.

Describe alternatives you've considered The streaming API seems to address the large sets already but does so by offering more efficient ways to load them rather than limiting them.

Solving it on the schema level is another option but might not be feasible.

Additional context –

michelkaeser avatar Jan 30 '24 13:01 michelkaeser

#1519 is somewhat related as it also asks for a way to limit the potential hits.

michelkaeser avatar Sep 10 '24 15:09 michelkaeser

This issue is linked to our feedback platform. For feedback and updates, please visit this link.

featurebase-for-github avatar Sep 16 '24 11:09 featurebase-for-github