Roles: permissions add
roles_permissions_addGrant a role read, create, update, or delete permissions on an entity; all users with that role gain them at once. Defaults to read.
Instructions
Add entity permissions to a role. Grants a role one or more actions (read, create, update, delete; default read) on one entity, and every user holding the role gains them at once. Its other permissions are kept and actions it already has are skipped. An action with no matching permission for that entity is reported and skipped.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | Entity name | |
| actions | No | Comma-separated actions: read,create,update,delete (default: read) | |
| role_id | Yes | Role ID. Find it with roles_list. |