give_permission
Grant a user a specific role (Admin, Editor, Viewer) on a target workspace, profile, or channel.
Instructions
Grant a user a role on a target (hub profile, workspace, channel, etc.).
workspace_id: target workspace ID — get available IDs from list_workspaces()
target_type: "HubProfile", "Workspace", or "Channel"
role_id: 1 = Admin, 2 = Editor, 3 = Viewer
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role_id | Yes | ||
| user_id | Yes | ||
| target_id | Yes | ||
| target_type | Yes | ||
| workspace_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |