agileconfig_set_user_permissions
Assign specific permissions to a user, such as app management or configuration operations, with scope for global or per-application access.
Instructions
设置用户的权限。权限包含:APP_ADD、CONFIG_ADD/EDIT/DELETE/PUBLISH、NODE_ADD/DELETE、USER_ADD/EDIT/DELETE 等。每个权限可针对全局(appId="GLOBAL")或指定应用(appId="my-app")。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | 用户 ID | |
| permissions | Yes | 权限 JSON 数组,格式:[{"functionKey":"APP_ADD","appId":"GLOBAL","enable":true}] |