modx_grant_resourcegroup_access
Grant a user group access to a resource group by assigning an access policy and optional minimum role authority.
Instructions
Grant a user group access to a resource group with a policy and minimum role authority.
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": {
"principal": "<principal>",
"target": "<target>",
"policy": "<policy>"
},
"name": "modx_grant_resourcegroup_access"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy | Yes | Access policy id. | |
| target | Yes | Resource group id. | |
| authority | No | Minimum role authority (0 = all). | |
| principal | Yes | User group id. |