Expand description
Privilege password validation utilities.
Delegates to crate::logic::privilege for tool-aware checks.
Functionsยง
- check_
passwordless_ sudo_ available - What: Check if passwordless privilege escalation is available for the current user.
- resolve_
auth_ mode - What: Resolve the effective authentication mode from settings.
- should_
force_ interactive_ auth_ handoff - What: Determine whether interactive handoff is being forced by compatibility fallback.
- should_
skip_ password_ modal - What: Determine whether the Pacsea password modal should be skipped.
- should_
use_ interactive_ auth_ handoff - What: Determine whether Pacsea should perform interactive auth handoff.
- should_
use_ passwordless_ sudo - What: Check if passwordless privilege escalation should be used based on settings and system availability.
- validate_
sudo_ password - What: Validate a privilege tool password without executing any command.