RecordPermissionsEntities
Breaks record-level permissions into their detailed entities to show how access rules differ for users, groups, and roles.
Select
WHERE 句ではAppId カラムが必須です。connector はKintone API を使用してこのカラムによる結果をフィルタリングします。デフォルトでは、connector はクライアント側でconnector 内で他のフィルタを処理します。
例えば、次のクエリはサーバー側で処理されます。
SELECT * FROM RecordPermissionsEntities WHERE AppId = 6 SELECT * FROM RecordPermissionsEntities WHERE AppId = 6 AND Lang = 'en' SELECT * FROM RecordPermissionsEntities WHERE AppId = 6 AND IsPreview = false
Columns
| Name | Type | References | Description |
| AppId | Integer | Identifier of the Kintone app whose record-permission entity assignments are being retrieved. | |
| FilterCond | String | Filter condition expressed in query-string format that specifies which records the entity-level permissions apply to. | |
| EntityType | String | Type of entity that receives the record-level permission, such as a user, group, or department. | |
| EntityCode | String | Code identifying the specific entity to which the record-level permission is granted. | |
| Viewable | Boolean | Indicates whether the entity has permission to view records that match the filter condition. | |
| Editable | Boolean | Indicates whether the entity has permission to edit records that match the filter condition. | |
| Deletable | Boolean | Indicates whether the entity has permission to delete records that match the filter condition. | |
| IncludeSubs | Boolean | Indicates whether permissions assigned to a department should also apply to its subordinate departments. |
Pseudo-Columns
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるデータを詳細に制御することができます。
| Name | Type | Description | |
| Lang | String | Locale code used to retrieve entity-level record-permission details in a specific language. | |
| IsPreview | Boolean | Indicates whether to retrieve record-permission entity details from the preview environment ('true') or from the live environment ('false'). The default value is 'true'. |