You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
API that takes a single PolicySet and Entities, a single action, resource, and context, and a batch (list) of principals, and reports whether each of the principals in the list is authorized. Likewise for a batch of actions and a batch of resources.
This can be done more efficiently than calling the normal is_authorized() in a loop, because we can first partial-evaluate with the principal unknown (resp. action or resource), and then evaluate only the residuals N times.
Describe alternatives you've considered
Just call is_authorized() in a loop
Users can do this by themselves, ie, call partial evaluation and then evaluate the residuals repeatedly, without us providing a wrapper API to do all of this in one call
Additional context
No response
Is this something that you'd be interested in working on?
👋 I may be able to implement this feature request
⚠️ This feature might incur a breaking change
The text was updated successfully, but these errors were encountered:
Category
User level API features/changes
Describe the feature you'd like to request
API that takes a single
PolicySet
andEntities
, a singleaction
,resource
, andcontext
, and a batch (list) ofprincipal
s, and reports whether each of the principals in the list is authorized. Likewise for a batch ofaction
s and a batch ofresource
s.This can be done more efficiently than calling the normal
is_authorized()
in a loop, because we can first partial-evaluate with theprincipal
unknown (resp.action
orresource
), and then evaluate only the residuals N times.Describe alternatives you've considered
is_authorized()
in a loopAdditional context
No response
Is this something that you'd be interested in working on?
The text was updated successfully, but these errors were encountered: