Stop invalidating sudo timestamp on mode exit

This commit is contained in:
Philip Henning 2026-09-03 19:28:01 +02:00
parent 026bbc4eff
commit 68a9696e7d
6 changed files with 55 additions and 43 deletions

View file

@ -63,6 +63,8 @@ repository documents.
- The application starts in Read-only Mode.
- Mutating actions require Privileged Mode, and a Pre-edit Backup must exist
before writes are enabled.
- Leaving Privileged Mode clears only application permission and undo/redo
session state; it must not alter sudo's cached timestamp.
- Default Entries are protected from mutation and must remain first when file
order changes.
- All privileged writes go through `HostsManager`.