Learn R Programming

paws.security.identity (version 0.7.0)

verifiedpermissions_batch_is_authorized: Makes a series of decisions about multiple authorization requests for one principal or resource

Description

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.

Usage

verifiedpermissions_batch_is_authorized(
  policyStoreId,
  entities = NULL,
  requests
)

Arguments

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.