Skip to content

fix: insecure provider for non-module-system user classes - #497

Merged
drupol merged 1 commit into
denful:mainfrom
sini:fix/insecure-user-class
May 9, 2026
Merged

drupol merged 1 commit into
denful:mainfrom
sini:fix/insecure-user-class

Conversation

@sini

@sini sini commented May 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Same bug as fix: unfree provider for non-module-system user classes #495 (unfree): when a user has classes = ["user"] (no homeManager), den.provides.insecure resolved with class = "user" — not in validClasses — silently dropping the permittedInsecurePackages emission
  • Fix: add host arg and emit to the host's OS class for any non-module-system class, matching the unfree provider fix
  • Audited all other providers in modules/aspects/provides/ — none are affected

Test plan

  • Existing insecure test suite passes
  • Verified: user aspect with classes = ["user"] now correctly populates igloo.permittedInsecurePackages.packages

…ser classes

Same bug as unfree: when a user has classes = ["user"] (no
homeManager), the insecure provider resolved with class = "user"
which isn't in validClasses, silently dropping the
permittedInsecurePackages emission. Emit to the host's OS class
for any non-module-system class.
@drupol
drupol merged commit 9c96e23 into denful:main May 9, 2026
39 of 48 checks passed
charlesfire pushed a commit to charlesfire/den that referenced this pull request May 16, 2026
## Summary
- Same bug as denful#495 (unfree): when a user has `classes = ["user"]` (no
homeManager), `den.provides.insecure` resolved with `class = "user"` —
not in `validClasses` — silently dropping the
`permittedInsecurePackages` emission
- Fix: add `host` arg and emit to the host's OS class for any
non-module-system class, matching the unfree provider fix
- Audited all other providers in `modules/aspects/provides/` — none are
affected

## Test plan
- [x] Existing `insecure` test suite passes
- [x] Verified: user aspect with `classes = ["user"]` now correctly
populates `igloo.permittedInsecurePackages.packages`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants