Self Review Prevention

Prevent users from being assigned as reviewers for rows that relate to their own access and permissions.

Enable or disable self-review prevention. When self-review prevention is enabled, users are prevented from being assigned as reviewers for rows that relate to their own access and permissions.

Parameters

The value can be either an integer or string:

  • SELF_REVIEWER_CHECKING_DISABLED = 1 (or "SELF_REVIEWER_CHECKING_DISABLED" as string)

  • SELF_REVIEWER_CHECKING_ENABLED = 2 (or "SELF_REVIEWER_CHECKING_ENABLED" as string)

An optional workflow_id parameter allows configuring self-review prevention per review configuration, overriding the global setting for that configuration. When workflow_id is omitted, the request reads or writes the global setting.

Examples

Example using string value (global):

{
    "value": "SELF_REVIEWER_CHECKING_DISABLED"
}

Example using integer value (global):

{
    "value": 1
}

Example enabling self-review prevention for a specific review configuration:

When a workflow_id is provided on a GET request, Veza returns the configuration-specific setting if one exists, or falls back to the global setting.

Example GET request (per review configuration):

Example cURL request (global):

Example cURL request (per review configuration):

Get Self Review Settings

Get Self-Reviewer Settings

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
workflow_idstringOptional

Optional. If provided, returns the setting for this specific review configuration. If not provided or no configuration-specific setting exists, returns the global setting.

Example: 8ae1c414-3a76-46cb-950a-925316b3f264
Header parameters
AcceptstringOptionalExample: application/json
Responses
chevron-right
200

OK

application/json
objectOptional
get
/api/private/workflows/access/global_settings/self_reviewer_settings
200

OK

Set Self Review Settings

Set Self-Reviewer Settings

put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Header parameters
Content-TypestringOptionalExample: application/json
AcceptstringOptionalExample: application/json
Body
valueone ofOptional
integer · enumOptional

1 = SELF_REVIEWER_CHECKING_DISABLED, 2 = SELF_REVIEWER_CHECKING_ENABLED

Possible values:
or
string · enumOptional

String values for self-review prevention settings

Possible values:
workflow_idstringOptional

Optional. If provided, sets the setting for this specific review configuration only. If omitted, sets the global setting.

Responses
chevron-right
200

OK

application/json
objectOptional
put
/api/private/workflows/access/global_settings/self_reviewer_settings
200

OK

Last updated

Was this helpful?