Skip to main content

List the register rows granted to one user, group or project.

GET/api/v1/row-access-grantspermissions:admin

The principal-centred list of the Row security screen, across registers: every row (and register-wide grant, with a null row_id) granted directly to the user, group or project named by exactly one of user_id, group_id and project_id, whether or not the caller can read the row (an administrator managing access sees everything the principal holds). A user or a group is also listed for the rows it reaches through a project grant, with via_project; those are read only. Grants made to a user's groups are not expanded: ask per group. Sorted by register, row, then project. Needs View Gridlink Row Security.

Scopepermissions:admin (sensitive)
AsynchronousNo
MCP toollist_row_access_grants
Portal permissionsview_gridlink_row_security
Pagingkeyset
Default ordercustom_field_template_id, row_id, via_project_id
Sort fieldscustom_field_template_id, row_id, via_project_id

Parameters​

NameInTypeRequiredDescription
user_idquerystring or nullOptionalThe user whose row grants are listed (exactly one of user_id, group_id and project_id). Grants made to the user's groups are not expanded: ask per group.
group_idquerystring or nullOptionalThe group whose row grants are listed.
project_idquerystring or nullOptionalThe project whose row grants are listed.
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 body​

FieldTypeRequiredDescription
itemsarray of RowGrantHoldingRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

RowGrantHolding​

FieldTypeRequiredDescription
can_editbooleanRequiredThe grant lets its principal change, delete, link and unlink the row; false for a read grant and for every project grant.
custom_field_template_idstringRequired
row_idstring or nullRequiredThe row. Null for a register-wide grant, which applies to every row of the register, present and future.
via_projectRowGrantHoldingProject or nullRequiredSet when the user or group reaches the row through a project grant (it can read that project) rather than a grant of its own; such an entry is read only and is changed in the project's security or the row's grants. Null for a grant of the principal's own.

RowGrantHoldingProject​

FieldTypeRequiredDescription
project_idstringRequired
project_namestring or nullRequiredNull when the project no longer has a name.