View source: R/verifiedpermissions_operations.R
verifiedpermissions_batch_is_authorized | R Documentation |
Makes a series of decisions about multiple authorization requests for one principal or resource. Each request contains the equivalent content of an is_authorized
request: principal, action, resource, and context. Either the principal
or the resource
parameter must be identical across all requests. For example, Verified Permissions won't evaluate a pair of requests where bob
views photo1
and alice
views photo2
. Authorization of bob
to view photo1
and photo2
, or bob
and alice
to view photo1
, are valid batches.
See https://www.paws-r-sdk.com/docs/verifiedpermissions_batch_is_authorized/ for full documentation.
verifiedpermissions_batch_is_authorized(
policyStoreId,
entities = NULL,
requests
)
policyStoreId |
[required] Specifies the ID of the policy store. Policies in this policy store will be used to make the authorization decisions for the input. |
entities |
Specifies the list of resources and principals and their associated attributes that Verified Permissions can examine when evaluating the policies. You can include only principal and resource entities in this parameter; you can't include actions. You must specify actions in the schema. |
requests |
[required] An array of up to 30 requests that you want Verified Permissions to evaluate. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.