Skip to content

Query plan: how to evaluate ast json response? #1538

Answered by dbuduev
vichugunov asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, the idea is to make less calls to CheckResources API for each individual resource, if it was a request to obtain collection of resources.

You can batch up to 50 resources in a single request. This number is also configurable. Our performance tests show that CheckResource API is extremely responsive. The exact latency number depends on many factors. Are you targeting any particular latency value?

Use case 1: Get all resources that are allowed for the provided principal and the action.

Problem comes if some complex policies are saved and some functions (e.g. lambda expressions or get-field/set-field struct operators) are not easy to interpret.

We aim to eliminate these where possib…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@vichugunov
Comment options

@dbuduev
Comment options

Answer selected by vichugunov
@vichugunov
Comment options

@dbuduev
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants