grant_rights
Grant user or group permissions on queues, custom fields, groups, classes, catalogs, or globally. Supports single rights or bulk grants; returns conflict error if already granted.
Instructions
Grant rights on a queue, custom field, group, class, catalog, or globally. Specify a single right with Right + (User or Group), or pass an array of grants for bulk operation. Returns 409 if a right is already granted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| User | No | Username or user ID to grant to (for single grant) | |
| Group | No | Group name or ID to grant to (for single grant) | |
| Right | No | Right name (for single grant) | |
| grants | No | Array of grants for bulk operation. Each item: {Right, User or Group} | |
| object_id | No | Object ID, or name for a queue, class or catalog (group and customfield are numeric id only). Not needed for global. | |
| object_type | Yes | Type of object |