feat: User-level policy and floor enforcement (EPIC-17 gap) #30
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
elegos/linux-hello#30
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Issue
docs/lld/polman.md:160–161documents two deferred features from EPIC-17:User-level policy (
~/.local/share/linux-hello/policy.sealed): currently only system policy (/etc/linux-hello/policy.sealed) is implemented. Users cannot override thresholds for their own services.Floor enforcement: the daemon merges system and user policy layers without validating that user overrides do not breach system floors. A user setting
min_score = 0forsudowould currently take effect silently rather than being clamped to the system floor.Impact
The layered policy model described in ARCHITECTURE.md §16 is not enforced. System administrators cannot set per-service floors that users cannot override.
Fix
~/.local/share/linux-hello/policy.sealed(TPM-sealed, per-user).min_scoreto the system floor for that service; silently ignore (log warning) rather than error.linux-hello-polmanwith--userflag to edit user-level policy.