メインコンテンツまでスキップ

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

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

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

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.

スコープpermissions:admin (機密性の高いスコープ)
非同期いいえ
MCP ツールlist_row_access_grants
Portal の権限view_gridlink_row_security
ページングkeyset
既定の並び順custom_field_template_id, row_id, via_project_id
並べ替えに使えるフィールドcustom_field_template_id, row_id, via_project_id

パラメーター​

名前場所型必須説明
user_idquerystring または null任意The 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 または null任意The group whose row grants are listed.
project_idquerystring または null任意The project whose row grants are listed.
limitqueryinteger任意既定値: 50; ≥ 1
cursorquerystring任意
sortquerystring任意Comma-separated sort fields, - for descending.
Docwize-Versionheaderstring (date)任意
If-None-Matchheaderstring任意Answers 304 when the representation is unchanged (resources that publish an ETag).

応答​

ステータス説明本文
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 の本文​

フィールド型必須説明
itemsRowGrantHolding の配列必須
next_cursorstring または null必須
warningsobject の配列必須

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

RowGrantHolding​

フィールド型必須説明
can_editboolean必須The grant lets its principal change, delete, link and unlink the row; false for a read grant and for every project grant.
custom_field_template_idstring必須
row_idstring または null必須The row. Null for a register-wide grant, which applies to every row of the register, present and future.
via_projectRowGrantHoldingProject または null必須Set 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​

フィールド型必須説明
project_idstring必須
project_namestring または null必須Null when the project no longer has a name.