polkit_check_auth
Check whether a Polkit action ID is authorized by the system authority, allowing you to verify permissions before executing privileged operations.
Instructions
Check authorization for a Polkit action ID against org.freedesktop.PolicyKit1.Authority.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| details | No | Optional details JSON string. | |
| action_id | Yes | Polkit action ID. | |
| allow_user_interaction | No | Allow interactive prompt. |