grocy_user_permissions
Manage Grocy user permissions by retrieving a user's access list, adding a permission, or replacing the full list; write actions require confirmation.
Instructions
User permissions. action get is GET /api/users/{userId}/permissions. add is POST one permissions_id. replace is PUT the full list. Writes need confirm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | get lists permissions. add posts one permissions_id. replace overwrites the list. | |
| confirm | No | Set to the boolean true to execute the write. Omit this field for a dry-run preview. false and the string true are rejected. | |
| user_id | Yes | User id. | |
| permissions | No | Required for replace. | |
| permissions_id | No | Required for add. |