openfga_check
Check user permissions in OpenFGA by verifying if a user has specific access rights to objects. Use this tool to validate authorization decisions across different environments.
Instructions
OpenFGA 권한 체크 - 사용자가 특정 권한을 가지는지 확인
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"env": "<env>",
"user": "<user>",
"relation": "<relation>",
"object": "<object>"
},
"name": "openfga_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | Yes | 환경명 (local, int, stage, real) | |
| storeId | No | 스토어 ID (생략 시 기본값 사용) | |
| user | Yes | 사용자 (예: user:john) | |
| relation | Yes | 권한/관계 (예: can_view, can_edit) | |
| object | Yes | 오브젝트 (예: vehicle:car1) |