confluence_set_page_restriction
Set access permissions for Confluence pages by choosing from three restriction modes: public access, view-only for all with specific editors, or private access for designated users only.
Instructions
设置 Confluence (KMS) 页面的访问权限。支持三种模式:无限制(所有人可访问)、限制编辑(所有人可查看但只有指定用户可编辑)、只有自己能查看(只有指定用户可查看和编辑)。
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": {
"pageId": "<pageId>",
"restrictionType": "<restrictionType>"
},
"name": "confluence_set_page_restriction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | 页面 ID | |
| restrictionType | Yes | 权限类型:none(无限制)、edit_only(限制编辑,所有人可查看)、view_only(只有自己能查看和编辑) | |
| username | No | 可选:指定用户名(默认使用当前登录用户) |