Skip to main content
Get a right

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Path Parameters

id
string
required

Identifier of the right to return.

Minimum string length: 1
Example:

"view_links"

Response

Returns the right.

_id
string

Unique identifier of the right.

Example:

"view_links"

acls
string[] | null

Names of the ACLs that carry this right. A user holds the right when one of their groups carries one of these ACLs.

Example:
actionname
string | null

Workflow transition the right relates to. Recorded for reference only - nothing resolves the permission from this field.

Example:

"create"

allowedForOrganization
boolean
default:false

Whether the right may reach a user who belongs to an organization. A right without this flag is resolved only for users outside any organization.

Example:

true

class
string | null

Kind of permission the right represents, which decides how it is resolved: document for a document-type right, workflow for a workflow transition right, empty for a plain generic right. Once set, the right's name must follow that class's naming format, otherwise the right grants nothing.

Example:

"document"

definitionname
string | null

Document definition the right relates to. Recorded for reference only - nothing resolves the permission from this field.

Example:

"d_default"

description
string | null

Human-readable description of what the right allows.

Example:

"Right to view links between records."

group
string | null

Label the administration UI groups rights by.

Example:

"UI Feature"

name
string | null

Unique identifier of the right, also used as the name checked when the right is enforced.

Example:

"view_links"

version
integer

Current version number of the right.

Example:

3

workflowname
string | null

Workflow the right relates to. Recorded for reference only - nothing resolves the permission from this field.

Example:

"wf_archive"