verify_user_permission
Check whether a user has a given permission, returning true or false with context. Supports optional resource scoping for granular access verification.
Instructions
Check whether a specific user has a given permission. Returns true/false with context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | The user's unique ID or username. | |
| permission | Yes | The permission identifier to check (e.g. 'jobs.cancel', 'batch.rerun', 'audit.export'). | |
| resource | No | Optional specific resource ID to check scoped permission against. |