AcessPolicy resource

This table outlines the attributes of the AccessPolicy resource and their descriptions.

AccessPolicy.and

Array of Any

A list of conditions that must all be satisfied for the policy to grant access.

AccessPolicy.description

string

A textual description of the access policy.

AccessPolicy.engine

string

Specifies the evaluation engine used for the policy. Allowed values: json-schema | allow | sql | complex | matcho | clj | matcho-rpc | allow-rpc | signed-rpc | smart-on-fhir Docs

AccessPolicy.link

Array of Reference

References to resources ( User, Client, Operation) associated with this policy.

AccessPolicy.matcho

Any

Defines rules using the Matcho pattern-matching syntax. Docs.

AccessPolicy.module

string

Specifies the module associated with the access policy.

AccessPolicy.or

Array of Any

A list of conditions where at least one must be satisfied for the policy to grant access.

AccessPolicy.roleName

string

Symbolic link to a Role by name, associating the policy with a specific role. Docs.

AccessPolicy.rpc

Any

Defines rules for Remote Procedure Calls (RPCs). Docs.

AccessPolicy.schema

Any

JSON Schema used to validate requests against the policy. Docs.

AccessPolicy.source

string

AccessPolicy.sql

Object

Configuration for SQL-based evaluation. Docs.

AccessPolicy.sql.query

string

SQL query used to evaluate access conditions. Docs

AccessPolicy.type

string

The type or category of the access policy. Allowed values: scope | rest | rpc

Last updated